6b929c59fb
- Merge in a whole bunch of various fixes from upstream and add comments for the existing fixes which didn't have a comment in the patch. From Brad; OK sthen@
15 lines
518 B
Plaintext
15 lines
518 B
Plaintext
$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);
|