summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-03-28 18:38:11 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-03-28 18:38:11 +0000
commitdf244cef0484e858ee0bc42dcd88d6af0bd8627b (patch)
tree8a3413c1cb87626f36071ea4ec2751808dc96334 /plugins
parent799bc90b1f2097108e8d386a7f00051f95b9f494 (diff)
plugins/elements/gstmultiqueue.c: Don't leak GCond.
Original commit message from CVS: * plugins/elements/gstmultiqueue.c: (gst_single_queue_free): Don't leak GCond. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/multiqueue.c: (setup_multiqueue), (GST_START_TEST), (multiqueue_suite): Add some dead simple unit tests for the 'multiqueue' element (some bits don't work yet and are disabled for now).
Diffstat (limited to 'plugins')
-rw-r--r--plugins/elements/gstmultiqueue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c
index 21d9d8d50..1a52c407f 100644
--- a/plugins/elements/gstmultiqueue.c
+++ b/plugins/elements/gstmultiqueue.c
@@ -998,6 +998,7 @@ gst_single_queue_free (GstSingleQueue * sq)
/* DRAIN QUEUE */
gst_data_queue_flush (sq->queue);
g_object_unref (sq->queue);
+ g_cond_free (sq->turn);
g_free (sq);
}