mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +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,
|
g_clear_pointer (&GES_XML_FORMATTER (object)->priv->element_id,
|
||||||
(GDestroyNotify) g_hash_table_unref);
|
(GDestroyNotify) g_hash_table_unref);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue