summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication-dbus.c
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2014-03-30 11:57:23 +0200
committerPaolo Borelli <pborelli@gnome.org>2014-03-30 11:57:23 +0200
commit90b78f89d3f02b5d75d9403c59e98b45458fdeb5 (patch)
tree0055621d10aab8f3beaee72acf3cd8ebb6699f70 /gtk/gtkapplication-dbus.c
parent63b90bb5b8056f60abe4e8ab0d2a73c2d2cad93f (diff)
downloadgtk+-90b78f89d3f02b5d75d9403c59e98b45458fdeb5.tar.gz
application-dbus: free strings during finalization
Diffstat (limited to 'gtk/gtkapplication-dbus.c')
-rw-r--r--gtk/gtkapplication-dbus.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkapplication-dbus.c b/gtk/gtkapplication-dbus.c
index 9fb79f405c..cd145d2006 100644
--- a/gtk/gtkapplication-dbus.c
+++ b/gtk/gtkapplication-dbus.c
@@ -419,7 +419,11 @@ gtk_application_impl_dbus_init (GtkApplicationImplDBus *dbus)
static void
gtk_application_impl_dbus_finalize (GObject *object)
{
- //GtkApplicationImplDBus *dbus = (GtkApplicationImplDBus *) object;
+ GtkApplicationImplDBus *dbus = (GtkApplicationImplDBus *) object;
+
+ g_free (dbus->app_menu_path);
+ g_free (dbus->menubar_path);
+ g_free (dbus->app_id);
G_OBJECT_CLASS (gtk_application_impl_dbus_parent_class)->finalize (object);
}