summaryrefslogtreecommitdiff
path: root/include/usermanager.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:46:36 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:46:36 +0000
commitae6acab1ba3ddc144c599d5434bbcf6f1efa37ad (patch)
treef11b976d86c423b3b48030eb9701d6fc6a489950 /include/usermanager.h
parent1ea2fca7678ca3fe585c5812f9f62799e4a46ec5 (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/usermanager.h')
-rw-r--r--include/usermanager.h2
1 files changed, 2 insertions, 0 deletions
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