subparse: GstAdapter is not a GstObject and should be freed with g_object_unref

This commit is contained in:
Tim-Philipp Müller 2009-09-01 15:06:51 +01:00
parent 95af14d7bc
commit 889c318798

View 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;
}