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

This commit is contained in:
Tim-Philipp Müller 2009-08-31 13:42:27 +01:00
parent 9fe257d16c
commit 94a404cb8d

View file

@ -90,7 +90,8 @@ gst_dvd_sub_parse_finalize (GObject * object)
{
GstDvdSubParse *parse = GST_DVD_SUB_PARSE (object);
gst_object_unref (parse->adapter);
g_object_unref (parse->adapter);
parse->adapter = NULL;
G_OBJECT_CLASS (parent_class)->finalize (object);
}