dbus_message_append_args_valist: Don't leak memory on inappropriate type 21/199021/1
authorSimon McVittie <smcv@collabora.com>
Tue, 4 Jul 2017 12:31:38 +0000 (13:31 +0100)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Fri, 1 Feb 2019 01:21:17 +0000 (10:21 +0900)
commit996d216ea6881cbf0700c7990135169e7fb16369
treef94e66b6cf7a68c0a156eed9ce9321468d802b1d
parent306cbdf848bffcdaeba2e275fff4b9974e72b588
dbus_message_append_args_valist: Don't leak memory on inappropriate type

Found by source code inspection while trying to debug an unrelated
leak.

Change-Id: I0726c57bb4b0ccdadee2263b14f9fe3fe4ebc99a
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
dbus/dbus-message.c