dbus_message_iter_append_basic: Don't leak signature if appending fd fails
authorSimon McVittie <smcv@collabora.com>
Tue, 4 Jul 2017 13:13:15 +0000 (14:13 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 5 Jul 2017 12:56:47 +0000 (13:56 +0100)
commit0907c2b9fdc5c7194bb6fef16e6f1d67d830c95d
tree9d4d6d9a6258101c1268280d4dea0eeb5465fbcf
parent4157b6a19159f3a10fba4efba532d7c4b4f044ca
dbus_message_iter_append_basic: Don't leak signature if appending fd fails

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101568
(cherry picked from commit 8384e795516066960bb9fcfbfe138f569420edb9)
dbus/dbus-message.c