From 6cace9502f5a7e9cb9e924e1ef3483021c6a4e28 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 10 Feb 2007 14:58:04 +0000 Subject: 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 --- src/timer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; } -- cgit v1.2.3