OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeccd38
)
GDBusConnection: Don't leak message reply in error path
author
David Zeuthen
<davidz@redhat.com>
Mon, 27 Feb 2012 19:53:13 +0000
(14:53 -0500)
committer
David Zeuthen
<davidz@redhat.com>
Mon, 27 Feb 2012 19:53:13 +0000
(14:53 -0500)
This was reported in bug 670909.
https://bugzilla.gnome.org/show_bug.cgi?id=670909
Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusconnection.c
patch
|
blob
|
history
diff --git
a/gio/gdbusconnection.c
b/gio/gdbusconnection.c
index
31b7cc6
..
1fce45f
100644
(file)
--- a/
gio/gdbusconnection.c
+++ b/
gio/gdbusconnection.c
@@
-5298,8
+5298,8
@@
g_dbus_connection_call_done (GObject *source,
{
g_simple_async_result_set_op_res_gpointer (state->simple, state, (GDestroyNotify) call_state_free);
g_simple_async_result_complete (state->simple);
- g_object_unref (reply);
}
+ g_clear_object (&reply);
g_object_unref (simple);
}