From 5a3bfc45f770ca29226210ad9fde2bd69be4a6fc Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 24 Jul 2018 13:18:48 +0100 Subject: [PATCH 1/2] 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 --- bus/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bus/main.c b/bus/main.c index 28223899..6e8859aa 100644 --- a/bus/main.c +++ b/bus/main.c @@ -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", -- 2.18.0