summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index ba06c96e1..ab3df5263 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -395,6 +395,7 @@ void CommandParser::RemoveCommand(command_table::iterator safei, const char* sou
if (x->source == std::string(source))
{
cmdlist.erase(safei);
+ delete x;
}
}