diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:46:36 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:46:36 +0000 |
commit | ae6acab1ba3ddc144c599d5434bbcf6f1efa37ad (patch) | |
tree | f11b976d86c423b3b48030eb9701d6fc6a489950 /include | |
parent | 1ea2fca7678ca3fe585c5812f9f62799e4a46ec5 (diff) |
Valgrind cleanup: deallocate RFC modes, clientlist, and uuidlist
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11614 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/mode.h | 1 | ||||
-rw-r--r-- | include/usermanager.h | 2 |
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 |