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 <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Simon McVittie 2018-07-24 13:21:37 +01:00
parent 7ae750c4e8
commit d98c43c697

View file

@ -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;