mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
xml-formatter: handle dispose properly
Summary: To dispose properly, a child object should call same function of parent class. Reviewers: thiblahute Differential Revision: https://phabricator.freedesktop.org/D311
This commit is contained in:
parent
2b4e89c75e
commit
0defd9a893
1 changed files with 2 additions and 0 deletions
|
@ -1513,6 +1513,8 @@ _dispose (GObject * object)
|
|||
{
|
||||
g_clear_pointer (&GES_XML_FORMATTER (object)->priv->element_id,
|
||||
(GDestroyNotify) g_hash_table_unref);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue