summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2012-09-25 14:21:12 +0200
committerEdward Hervey <edward@collabora.com>2012-09-25 14:21:12 +0200
commitb3541429a7f0aee5ac8f1ecc80f2ab6c0c63aa8c (patch)
treeac2da74231d160d9fe6f969becaaf7cdd8eae1e3
parent20d3b67031965b5cc55c5c32f8ed782ecdf1d4a9 (diff)
gnlcomposition: Fix leak
-rw-r--r--gnl/gnlcomposition.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnl/gnlcomposition.c b/gnl/gnlcomposition.c
index cbb6cff..8de15ca 100644
--- a/gnl/gnlcomposition.c
+++ b/gnl/gnlcomposition.c
@@ -418,6 +418,8 @@ gnl_composition_finalize (GObject * object)
gst_segment_free (priv->segment);
gst_segment_free (priv->outside_segment);
+ g_mutex_clear (&priv->objects_lock);
+ g_mutex_clear (&priv->flushing_lock);
G_OBJECT_CLASS (parent_class)->finalize (object);
}