subparse: GstAdapter is not a GstObject and should be freed with g_object_unref
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 1 Sep 2009 14:06:51 +0000 (15:06 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 1 Sep 2009 14:16:17 +0000 (15:16 +0100)
gst/subparse/gstsubparse.c

index 4312c50..34cacfa 100644 (file)
@@ -150,7 +150,7 @@ gst_sub_parse_dispose (GObject * object)
   }
 
   if (subparse->adapter) {
-    gst_object_unref (subparse->adapter);
+    g_object_unref (subparse->adapter);
     subparse->adapter = NULL;
   }