diff options
author | Simon McVittie <smcv@collabora.com> | 2018-07-24 13:18:48 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2018-08-23 18:23:21 +0100 |
commit | 7ae750c4e887b2d63f87caaf2162125ec3217fcc (patch) | |
tree | deece5084b249547020cdf2e444b0f6c581f982a /bus | |
parent | 2949a860da10fef7972c9dc06327312827019ba6 (diff) | |
download | dbus-7ae750c4e887b2d63f87caaf2162125ec3217fcc.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>
Diffstat (limited to 'bus')
-rw-r--r-- | bus/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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", |