mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
GApplication: Plug a memory leak
We were not freeing resource_path.
This commit is contained in:
parent
5a0a85e444
commit
f2786908a8
@ -1218,6 +1218,8 @@ g_application_finalize (GObject *object)
|
|||||||
if (application->priv->notifications)
|
if (application->priv->notifications)
|
||||||
g_object_unref (application->priv->notifications);
|
g_object_unref (application->priv->notifications);
|
||||||
|
|
||||||
|
g_free (application->priv->resource_path);
|
||||||
|
|
||||||
G_OBJECT_CLASS (g_application_parent_class)
|
G_OBJECT_CLASS (g_application_parent_class)
|
||||||
->finalize (object);
|
->finalize (object);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user