Quell potential memleak in anti spam, found by Inusaito Kanya in Singularity Viewer
parent
4f794f660b
commit
7e707c8540
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue