mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02:00
GApplication: Plug a memory leak
We were not freeing resource_path.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user