mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 19:51:29 +00:00
Fix memory leak in Client::TryRewards
This commit is contained in:
parent
c5a217842f
commit
9a19d59cf7
@ -5437,6 +5437,7 @@ bool Client::TryReward(uint32 claim_id)
|
||||
DuplicateLoreMessage(ivr.items[y].item_id);
|
||||
}
|
||||
claim->PutItem(y - 1, *item_temp);
|
||||
safe_delete(item_temp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user