summaryrefslogtreecommitdiff
path: root/contrib/gen-dbus-gobject.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gen-dbus-gobject.pl')
-rwxr-xr-xcontrib/gen-dbus-gobject.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gen-dbus-gobject.pl b/contrib/gen-dbus-gobject.pl
index c09945c..f940df5 100755
--- a/contrib/gen-dbus-gobject.pl
+++ b/contrib/gen-dbus-gobject.pl
@@ -379,6 +379,9 @@ static void {\$object}_dispose(GObject *gobject)
{PROPERTIES_FREE}
{FI_PROPERTIES}
+ /* Proxy free */
+ g_object_unref(self->priv->dbus_g_proxy);
+
/* Chain up to the parent class */
G_OBJECT_CLASS({\$object}_parent_class)->dispose(gobject);
}