[glib] gdbus: Fix memory leak in gdbusmethodinvocation.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gdbus: Fix memory leak in gdbusmethodinvocation.c
- Date: Wed, 5 Apr 2017 12:12:36 +0000 (UTC)
commit feae4e9f3184e0c59e658652c1b0ec31efe8d8b3
Author: Alexandros Frantzis <alexandros frantzis canonical com>
Date: Wed Apr 5 14:57:44 2017 +0300
gdbus: Fix memory leak in gdbusmethodinvocation.c
https://bugzilla.gnome.org/show_bug.cgi?id=780924
gio/gdbusmethodinvocation.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdbusmethodinvocation.c b/gio/gdbusmethodinvocation.c
index 30a8f54..e314ec5 100644
--- a/gio/gdbusmethodinvocation.c
+++ b/gio/gdbusmethodinvocation.c
@@ -105,6 +105,8 @@ g_dbus_method_invocation_finalize (GObject *object)
g_free (invocation->method_name);
if (invocation->method_info)
g_dbus_method_info_unref (invocation->method_info);
+ if (invocation->property_info)
+ g_dbus_property_info_unref (invocation->property_info);
g_object_unref (invocation->connection);
g_object_unref (invocation->message);
g_variant_unref (invocation->parameters);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]