playsink: don't leak the colorbalance element
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 27 Apr 2012 10:54:15 +0000 (12:54 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 1 May 2012 10:09:31 +0000 (12:09 +0200)
gst/playback/gstplaysink.c

index 5da6568..56b22b2 100644 (file)
@@ -1492,6 +1492,8 @@ update_colorbalance (GstPlaySink * playsink)
 
   g_signal_handlers_unblock_by_func (balance,
       G_CALLBACK (colorbalance_value_changed_cb), playsink);
+
+  gst_object_unref (balance);
 }
 
 /* make the element (bin) that contains the elements needed to perform