From 533dc997fd8fc7e71b848add173be61d9d251911 Mon Sep 17 00:00:00 2001 From: Mitch Freeman <65987027+neckkola@users.noreply.github.com> Date: Wed, 8 Jan 2025 00:50:34 -0400 Subject: [PATCH] [Fix] Repair a memory leak in #summonitem (#4591) --- zone/gm_commands/summonitem.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zone/gm_commands/summonitem.cpp b/zone/gm_commands/summonitem.cpp index ddee8ab07..b72292a97 100755 --- a/zone/gm_commands/summonitem.cpp +++ b/zone/gm_commands/summonitem.cpp @@ -132,4 +132,6 @@ void command_summonitem(Client *c, const Seperator *sep) item_link ).c_str() ); + + safe_delete(new_item); }