diff options
Diffstat (limited to 'src/time/timer_delete.c')
-rw-r--r-- | src/time/timer_delete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/timer_delete.c b/src/time/timer_delete.c index d7c7670f..caf04895 100644 --- a/src/time/timer_delete.c +++ b/src/time/timer_delete.c @@ -5,7 +5,7 @@ int timer_delete(timer_t t) { if (t->thread) pthread_cancel(t->thread); else { - if (t->timerid >= 0) __syscall(SYS_timer_delete, t->timerid); + __syscall(SYS_timer_delete, t->timerid); free(t); } return 0; |