From 0afc560a83b0e4325533618fe7c14703bec8a251 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 24 Jul 2018 13:21:37 +0100 Subject: [PATCH 2/2] server-unix: Don't leak address of systemd server on success Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107320 Signed-off-by: Simon McVittie --- dbus/dbus-server-unix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dbus/dbus-server-unix.c b/dbus/dbus-server-unix.c index 534e1d5f..c7ace2bc 100644 --- a/dbus/dbus-server-unix.c +++ b/dbus/dbus-server-unix.c @@ -249,6 +249,7 @@ _dbus_server_listen_platform_specific (DBusAddressEntry *entry, goto systemd_err; dbus_free (fds); + _dbus_string_free (&address); return DBUS_SERVER_LISTEN_OK; -- 2.18.0