mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-28 01:05:07 +00:00
dvdsubparse: GstAdapter is not a GstObject and should be freed with g_object_unref
This commit is contained in:
parent
9fe257d16c
commit
94a404cb8d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue