From: Simon McVittie Date: Tue, 24 Jul 2018 12:18:48 +0000 (+0100) Subject: bus: Free address (from --address) when we have finished using it X-Git-Tag: dbus-1.12.12~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f17c768de0b37573058bf49ad87fcc868bae4ac3;p=thirdparty%2Fdbus.git 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 Reviewed-by: Philip Withnall (cherry picked from commit 7ae750c4e887b2d63f87caaf2162125ec3217fcc) --- diff --git a/bus/main.c b/bus/main.c index b3fcddd02..4ee3f75d9 100644 --- a/bus/main.c +++ b/bus/main.c @@ -692,6 +692,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",