]> git.ipfire.org Git - thirdparty/dbus.git/commit
test/loopback: Don't leak address strings
authorSimon McVittie <smcv@collabora.com>
Wed, 28 Jun 2017 17:49:18 +0000 (18:49 +0100)
committerSimon McVittie <smcv@collabora.com>
Thu, 29 Jun 2017 13:03:30 +0000 (14:03 +0100)
commitfe19134bb6194ea2bc2d23da4d5f608cb7c8b702
treefdba315ccea402f08f599f951f6b810b9442b0c4
parentb951c5006cb8dcd1ec18d9466cbc5a087bc26776
test/loopback: Don't leak address strings

dbus_server_get_address() returns a copy. It isn't clear why.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101567
test/loopback.c