bus: Free address (from --address) when we have finished using it

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:18:48 +01:00
parent 2949a860da
commit 7ae750c4e8

View file

@ -693,6 +693,7 @@ main (int argc, char **argv)
_dbus_string_get_length(&address) > 0 ? &address : NULL,
&error);
_dbus_string_free (&config_file);
_dbus_string_free (&address);
if (context == NULL)
{
_dbus_warn ("Failed to start message bus: %s",