summaryrefslogtreecommitdiff
path: root/src/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.cpp')
-rw-r--r--src/timer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timer.cpp b/src/timer.cpp
index 6ccdbb9bd..f35a9c67b 100644
--- a/src/timer.cpp
+++ b/src/timer.cpp
@@ -41,11 +41,11 @@ void TickTimers(time_t TIME)
{
InspTimer* n = *y;
n->Tick(TIME);
- delete n;
+ DELETE(n);
}
Timers.erase(found);
- delete x;
+ DELETE(x);
}
}
@@ -69,11 +69,11 @@ void TickMissedTimers(time_t TIME)
{
InspTimer* z = *y;
z->Tick(TIME);
- delete z;
+ DELETE(z);
}
Timers.erase(found);
- delete x;
+ DELETE(x);
}
}
}