From: Michael Stapelberg Date: Fri, 20 Mar 2009 16:31:34 +0000 (+0100) Subject: Bugfix: Fix memory leak X-Git-Tag: 3.a-bf1~68 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0f7e253ffc006bbf7e7ed08b24b3fb1ae06db6c;p=i3%2Fi3 Bugfix: Fix memory leak --- 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; } }