diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-10-14 23:22:14 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-10-14 23:22:14 -0400 |
commit | f2786908a8858ec9d063e8fae7e4b2d8d612b682 (patch) | |
tree | 2ebfe0e76e171b2caaf0db555dab2b04d3abc1bb | |
parent | 5a0a85e444f5f7d18e4d20fc0340afb58f732e5f (diff) | |
download | glib-f2786908a8858ec9d063e8fae7e4b2d8d612b682.tar.gz |
GApplication: Plug a memory leak
We were not freeing resource_path.
-rw-r--r-- | gio/gapplication.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/gapplication.c b/gio/gapplication.c index d39d55a4d..ebbc450df 100644 --- a/gio/gapplication.c +++ b/gio/gapplication.c @@ -1218,6 +1218,8 @@ g_application_finalize (GObject *object) if (application->priv->notifications) g_object_unref (application->priv->notifications); + g_free (application->priv->resource_path); + G_OBJECT_CLASS (g_application_parent_class) ->finalize (object); } |