mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 20:52:17 +00:00
Fix potential memory leaks (clang-tidy)
This commit is contained in:
1 parent
74b3fe9d61
commit
47c9182ba3
7 files changed
+183
-158
No files matched your search
@@ -13691,6 +13691,7 @@ void Client::Handle_OP_TraderShop(const EQApplicationPacket *app)
|
||||
else {
|
||||
Log.Out(Logs::Detail, Logs::Trading, "Client::Handle_OP_TraderShop: entity_list.GetClientByID(tcs->traderid)"
|
||||
" returned a nullptr pointer");
|
||||
safe_delete(outapp);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user