aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar danieldg2009-09-02 00:46:36 +0000
committerGravatar danieldg2009-09-02 00:46:36 +0000
commitae6acab1ba3ddc144c599d5434bbcf6f1efa37ad (patch)
treef11b976d86c423b3b48030eb9701d6fc6a489950 /src/inspircd.cpp
parentValgrind cleanup: Add RemoveRFCCommands() to dlclose() and delete the core co... (diff)
downloadinspircd++-ae6acab1ba3ddc144c599d5434bbcf6f1efa37ad.tar.gz
inspircd++-ae6acab1ba3ddc144c599d5434bbcf6f1efa37ad.tar.bz2
inspircd++-ae6acab1ba3ddc144c599d5434bbcf6f1efa37ad.zip
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 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 28aa0e1b9..10143b54b 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -82,7 +82,7 @@ const char* ExitCodes[] =
"CreateEvent failed" /* 19 */
};
-template<typename T> static void DeleteZero(T* n)
+template<typename T> static void DeleteZero(T*&n)
{
if (n != NULL)
{