Commit 7ae750c4 authored by Simon McVittie's avatar Simon McVittie

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

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107320Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
parent 2949a860
...@@ -693,6 +693,7 @@ main (int argc, char **argv) ...@@ -693,6 +693,7 @@ main (int argc, char **argv)
_dbus_string_get_length(&address) > 0 ? &address : NULL, _dbus_string_get_length(&address) > 0 ? &address : NULL,
&error); &error);
_dbus_string_free (&config_file); _dbus_string_free (&config_file);
_dbus_string_free (&address);
if (context == NULL) if (context == NULL)
{ {
_dbus_warn ("Failed to start message bus: %s", _dbus_warn ("Failed to start message bus: %s",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment