projects
/
platform
/
upstream
/
gst-editing-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b4e89c
)
xml-formatter: handle dispose properly
author
Justin Kim
<justin.kim@collabora.com>
Thu, 1 Oct 2015 14:26:05 +0000
(16:26 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Thu, 1 Oct 2015 14:26:05 +0000
(16:26 +0200)
Summary:
To dispose properly, a child object should call same function
of parent class.
Reviewers: thiblahute
Differential Revision: https://phabricator.freedesktop.org/D311
ges/ges-xml-formatter.c
patch
|
blob
|
history
diff --git
a/ges/ges-xml-formatter.c
b/ges/ges-xml-formatter.c
index
c50d5ca
..
340fa7a
100644
(file)
--- a/
ges/ges-xml-formatter.c
+++ b/
ges/ges-xml-formatter.c
@@
-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