application-dbus: free strings during finalization

This commit is contained in:
Paolo Borelli 2014-03-30 11:57:23 +02:00
parent 63b90bb5b8
commit 90b78f89d3

View File

@ -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);
}