diff options
author | Simon McVittie <smcv@collabora.com> | 2018-07-24 13:18:48 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2018-08-29 19:04:08 +0100 |
commit | f17c768de0b37573058bf49ad87fcc868bae4ac3 (patch) | |
tree | 36cd083cec4e1281e5499d55f5b1189ed3fed42c | |
parent | ee14b13dd32d617cf2255e71c89841ce8b5eff9e (diff) | |
download | dbus-f17c768de0b37573058bf49ad87fcc868bae4ac3.tar.gz |
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>
(cherry picked from commit 7ae750c4e887b2d63f87caaf2162125ec3217fcc)
-rw-r--r-- | bus/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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", |