summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/mainloop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/mainloop.c b/openbox/mainloop.c
index f9aaf5ed..3f9381f3 100644
--- a/openbox/mainloop.c
+++ b/openbox/mainloop.c
@@ -674,6 +674,8 @@ static void timer_dispatch(ObMainLoop *loop, GTimeVal **wait)
if (curr->del_me) {
/* delete the top */
loop->timers = g_slist_delete_link(loop->timers, it);
+ if (curr->destroy)
+ curr->destroy(curr->data);
g_free(curr);
continue;
}