diff options
author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2019-07-23 17:40:53 +0200 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2019-07-25 18:19:34 -0700 |
commit | 181dd3f14406b2166a1beaedb60c6b1e3f574717 (patch) | |
tree | 85fb06d52b94aa818cff05954e768598b07e5861 /libgjs-private | |
parent | ccd4557ade755c676664fea5a003d130209f6db1 (diff) | |
download | gjs-181dd3f14406b2166a1beaedb60c6b1e3f574717.tar.gz |
gdbus-wrapper: Destroy the outstanding properties map on finalize
Since we're finalizing the object, better to be just destroy the table
Diffstat (limited to 'libgjs-private')
-rw-r--r-- | libgjs-private/gjs-gdbus-wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgjs-private/gjs-gdbus-wrapper.c b/libgjs-private/gjs-gdbus-wrapper.c index b57bb7c8..cffc1b38 100644 --- a/libgjs-private/gjs-gdbus-wrapper.c +++ b/libgjs-private/gjs-gdbus-wrapper.c @@ -177,7 +177,7 @@ gjs_dbus_implementation_finalize(GObject *object) { GjsDBusImplementation *self = GJS_DBUS_IMPLEMENTATION (object); g_dbus_interface_info_unref (self->priv->ifaceinfo); - g_hash_table_unref (self->priv->outstanding_properties); + g_hash_table_destroy(self->priv->outstanding_properties); G_OBJECT_CLASS(gjs_dbus_implementation_parent_class)->finalize(object); } |