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:
Justin Kim 2015-10-01 16:26:05 +02:00 committed by Thibault Saunier
parent 2b4e89c75e
commit 0defd9a893

View file

@ -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