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; } }