gst: unref the two cotnroller types in _deinit()
authorStefan Sauer <ensonic@users.sf.net>
Fri, 30 Dec 2011 16:57:41 +0000 (17:57 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Fri, 30 Dec 2011 16:57:41 +0000 (17:57 +0100)
gst/gst.c

index 9d8d1eb..4efb976 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -1149,6 +1149,9 @@ gst_deinit (void)
   g_type_class_unref (g_type_class_peek (gst_segment_flags_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_scheduling_flags_get_type ()));
 
+  g_type_class_unref (g_type_class_peek (gst_control_binding_get_type ()));
+  g_type_class_unref (g_type_class_peek (gst_control_source_get_type ()));
+
   gst_deinitialized = TRUE;
   GST_INFO ("deinitialized GStreamer");
 }