summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-10 14:58:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-10 14:58:04 +0000
commit6cace9502f5a7e9cb9e924e1ef3483021c6a4e28 (patch)
tree9dfd4a9a2614276847277335decc24d033438342 /src
parent6ea84e21f87606058bc88a6083932f4876ef07e1 (diff)
DELETE() on the timergroup in DelTimer (small memory leak)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6559 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/timer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timer.cpp b/src/timer.cpp
index e7635c528..ab0e9456c 100644
--- a/src/timer.cpp
+++ b/src/timer.cpp
@@ -87,6 +87,7 @@ void TimerManager::DelTimer(InspTimer* T)
if (!x->size())
{
Timers.erase(found);
+ DELETE(x);
}
return;
}