X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Futil%2Ftimer.c;h=01bd7686b972783b2bd324641fde78b9bf3eaa74;hb=9daa525aab5dfb62788865e4cbe4d92ddf055e93;hp=8d22082f4d79b1321f73cb6288094887bf1094ad;hpb=8a66c780e7fc932563b427999c3c6c2e923b232b;p=chaz%2Ftint2 diff --git a/src/util/timer.c b/src/util/timer.c index 8d22082..01bd768 100644 --- a/src/util/timer.c +++ b/src/util/timer.c @@ -77,6 +77,10 @@ void cleanup_timeout() free(t); timeout_list = g_slist_remove(timeout_list, t); } + if (multi_timeouts) { + g_hash_table_destroy(multi_timeouts); + multi_timeouts = 0; + } } /** Implementation notes for timeouts: The timeouts are kept in a GSList sorted by their