Commit f17c768d authored by Simon McVittie's avatar Simon McVittie

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

Bug: Simon McVittie's avatarSimon McVittie <>
Reviewed-by: Philip Withnall's avatarPhilip Withnall <>
(cherry picked from commit 7ae750c4)
parent ee14b13d
...@@ -692,6 +692,7 @@ main (int argc, char **argv) ...@@ -692,6 +692,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