summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2012-09-25 14:21:12 +0200
committerEdward Hervey <edward.hervey@collabora.co.uk>2012-11-01 16:43:37 +0100
commit308c9690448d53e94dfcdf13af040fb7f8136041 (patch)
tree259b1ac85c42bc4e4302975ece3fa524bf20bd20
parentaf36dcb60d5a24b935f49efdf79cd70ae2b89cff (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 c8230ab..d35d059 100644
--- a/gnl/gnlcomposition.c
+++ b/gnl/gnlcomposition.c
@@ -417,6 +417,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);
}