$OpenBSD: patch-src_xine-engine_events_c,v 1.1 2011/05/11 09:05:55 dcoppa Exp $ Various small memory leaks in xine engine. --- src/xine-engine/events.c.orig Mon May 9 20:34:15 2011 +++ src/xine-engine/events.c Mon May 9 20:36:34 2011 @@ -193,6 +193,7 @@ void xine_event_dispose_queue (xine_event_queue_t *que while ( (event = xine_event_get (queue)) ) { xine_event_free (event); } + xine_list_delete(queue->events); pthread_mutex_destroy(&queue->lock); pthread_cond_destroy(&queue->new_event);