mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-04 14:10:28 +01:00
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 7ae750c4e8)
This commit is contained in:
parent
ee14b13dd3
commit
f17c768de0
1 changed files with 1 additions and 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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue