summaryrefslogtreecommitdiff
path: root/src/timers.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-04-02 21:47:03 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-04-02 21:47:03 +0200
commit03a649231e5016b81e49a76880bade8925dc816c (patch)
tree90c3e6e7cda8b734717117864059546f52ee3c90 /src/timers.c
parent3b23637b1cc27120febcec6d8a3fea4cda9c1bda (diff)
replace _emalloc with emalloc (is the same unless DMALLOC is used)
Diffstat (limited to 'src/timers.c')
-rw-r--r--src/timers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timers.c b/src/timers.c
index 3343445..1cac94b 100644
--- a/src/timers.c
+++ b/src/timers.c
@@ -95,7 +95,7 @@ void feh_add_timer(void (*func) (void *data), void *data, double in, char *name)
D(("adding timer %s for %f seconds time\n", name, in));
feh_remove_timer(name);
- ft = malloc(sizeof(_fehtimer));
+ ft = emalloc(sizeof(_fehtimer));
ft->next = NULL;
ft->func = func;
ft->data = data;