summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}