From e0f7e253ffc006bbf7e7ed08b24b3fb1ae06db6c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 20 Mar 2009 17:31:34 +0100 Subject: [PATCH] Bugfix: Fix memory leak --- src/handlers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/handlers.c b/src/handlers.c index 174b56c3..6ce736cc 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -69,6 +69,7 @@ static bool event_is_ignored(const int sequence) { if (event->sequence == sequence) { LOG("Ignoring event (sequence %d)\n", sequence); SLIST_REMOVE(&ignore_events, event, Ignore_Event, ignore_events); + free(event); return true; } }