Commit b78f0cfa authored by Adam Tkac's avatar Adam Tkac Committed by Hiroyuki Ikezoe

rsvg-gobject.c: g_free object after we free all it's attributes, not before...

rsvg-gobject.c: g_free object after we free all it's attributes, not before (in instance_dispose() function)
Signed-off-by: 's avatarAdam Tkac <atkac@redhat.com>
parent 29516693
......@@ -134,8 +134,6 @@ instance_dispose (GObject * instance)
if (self->priv->base_uri)
g_free (self->priv->base_uri);
g_free (self->priv);
#if GLIB_CHECK_VERSION (2, 24, 0)
if (self->priv->base_gfile) {
g_object_unref (self->priv->base_gfile);
......@@ -152,6 +150,8 @@ instance_dispose (GObject * instance)
}
#endif
g_free (self->priv);
rsvg_parent_class->dispose (instance);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment