summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mode.h1
-rw-r--r--include/usermanager.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/mode.h b/include/mode.h
index a5a510367..da202c236 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -464,6 +464,7 @@ class CoreExport ModeParser : public classbase
/** The constructor initializes all the RFC basic modes by using ModeParserAddMode().
*/
ModeParser(InspIRCd* Instance);
+ ~ModeParser();
/** Used to check if user 'd' should be allowed to do operation 'MASK' on channel 'chan'.
* for example, should 'user A' be able to 'op' on 'channel B'.
diff --git a/include/usermanager.h b/include/usermanager.h
index a6b5f74e4..8b396eab0 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -39,6 +39,8 @@ class CoreExport UserManager : public Extensible
delete i->second;
}
clientlist->clear();
+ delete clientlist;
+ delete uuidlist;
}
/** Client list, a hash_map containing all clients, local and remote