]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/command_parse.cpp
publish "JSON-RPC" interface
[user/henk/code/inspircd.git] / src / command_parse.cpp
index ba06c96e18a2ea75fbdc606375fb79f9a13d1941..52c58ef999aba743e78506101cd314538479aea6 100644 (file)
@@ -1,4 +1,4 @@
-       /*       +------------------------------------+
+/*       +------------------------------------+
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
@@ -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;
        }
 }