diff options
author | Jacek Bukarewicz <j.bukarewicz@samsung.com> | 2015-06-17 18:53:41 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-06-17 19:00:02 +0100 |
commit | b863c22f6ad4a367cf8526b4fd3b1b265ab70842 (patch) | |
tree | d412cceea0cda467ca19684ed50ac1b0fce92284 | |
parent | db31c8995e95373245b65549f7df53e1b0e0bc23 (diff) | |
download | dbus-b863c22f6ad4a367cf8526b4fd3b1b265ab70842.tar.gz |
Fix memleak in GetConnectionCredentials handler
Reply message was not unreferenced when GetConnectionCredentials
handler was successful.
Signed-off-by: Jacek Bukarewicz <j.bukarewicz@samsung.com>
[smcv: changed bus_message_unref() to dbus_message_unref()]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=91008
-rw-r--r-- | bus/driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bus/driver.c b/bus/driver.c index f5d3ebe2..888c7ca7 100644 --- a/bus/driver.c +++ b/bus/driver.c @@ -1613,6 +1613,8 @@ bus_driver_handle_get_connection_credentials (DBusConnection *connection, goto oom; } + dbus_message_unref (reply); + return TRUE; oom: |