Bugfix: Fix memory leak

This commit is contained in:
Michael Stapelberg 2009-03-20 17:31:34 +01:00
parent 8ec7a1f81c
commit e0f7e253ff
1 changed files with 1 additions and 0 deletions

View File

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