mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-06 21:53:51 +00:00
Fix another memleak in Client::TryReward
This commit is contained in:
parent
0a351bf6e1
commit
7afb29cf02
@ -5448,6 +5448,7 @@ bool Client::TryReward(uint32 claim_id)
|
|||||||
|
|
||||||
PutItemInInventory(free_slot, *claim);
|
PutItemInInventory(free_slot, *claim);
|
||||||
SendItemPacket(free_slot, claim, ItemPacketTrade);
|
SendItemPacket(free_slot, claim, ItemPacketTrade);
|
||||||
|
safe_delete(claim);
|
||||||
|
|
||||||
Save();
|
Save();
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user