mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-05 08:50:26 +01:00
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>
(cherry picked from commit d98c43c697)
This commit is contained in:
parent
f17c768de0
commit
7d4b00a79a
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue