Quell potential memleak in anti spam, found by Inusaito Kanya in Singularity Viewer

meow-7.2.2
Cinders 2013-08-24 19:10:54 -06:00
parent 4f794f660b
commit 7e707c8540
1 changed files with 1 additions and 0 deletions

View File

@ -2084,6 +2084,7 @@ void inventory_offer_handler(LLOfferInfo* info)
// NaCl - Antispam Registry
if (NACLAntiSpamRegistry::instance().checkQueue(ANTISPAM_QUEUE_INVENTORY, info->mFromID))
{
delete info;
return;
}
// NaCl End