summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-15 16:12:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-15 16:12:39 +0000
commitb7a990e474461921f79b0b8846fcb338dd18982c (patch)
treee6b8dd5501d5727c698f9e7480f97815daa15e30
parentf059ceea21e2d8e421080e8a9f7dce7dbaa69da8 (diff)
Someone forgot to delete what they new :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8713 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/cull_list.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp
index 12bd34003..3f2050679 100644
--- a/src/cull_list.cpp
+++ b/src/cull_list.cpp
@@ -197,6 +197,7 @@ int CullList::Apply()
delete u;
}
+ delete *list.begin();
list.erase(list.begin());
exempt.erase(exemptiter);
}