mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +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
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@ gst_dvd_sub_parse_finalize (GObject * object)
|
||||||
{
|
{
|
||||||
GstDvdSubParse *parse = GST_DVD_SUB_PARSE (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);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue