mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-07 16:48:07 +02: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>
This commit is contained in:
parent
7ae750c4e8
commit
d98c43c697
1 changed files with 1 additions and 0 deletions
|
|
@ -249,6 +249,7 @@ _dbus_server_listen_platform_specific (DBusAddressEntry *entry,
|
||||||
goto systemd_err;
|
goto systemd_err;
|
||||||
|
|
||||||
dbus_free (fds);
|
dbus_free (fds);
|
||||||
|
_dbus_string_free (&address);
|
||||||
|
|
||||||
return DBUS_SERVER_LISTEN_OK;
|
return DBUS_SERVER_LISTEN_OK;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue