summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2010-01-16 10:16:17 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2010-02-12 20:09:43 +0000
commit019beab8dd40f312b6c8cc72cfbd49baebd52bff (patch)
treecf87e44b4265b5ba2d01d53653c1994a27456cce
parentd69a32ae83a780f79fb850ef307b8d58d4c07afd (diff)
downloadclutter-gst-019beab8dd40f312b6c8cc72cfbd49baebd52bff.tar.gz
Plug a leak of a GMutex, save the planet
The GMutex of the GSource was not destroyed when the GSource is. Plug it!
-rw-r--r--clutter-gst/clutter-gst-video-sink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c
index 592109b..b9a5574 100644
--- a/clutter-gst/clutter-gst-video-sink.c
+++ b/clutter-gst/clutter-gst-video-sink.c
@@ -278,6 +278,7 @@ clutter_gst_source_finalize (GSource *source)
gst_buffer_unref (gst_source->buffer);
gst_source->buffer = NULL;
g_mutex_unlock (gst_source->buffer_lock);
+ g_mutex_free (gst_source->buffer_lock);
}
static void