test: Add some OOM paths to the dbus-daemon-eavesdrop path
authorPhilip Withnall <withnall@endlessm.com>
Wed, 8 Feb 2017 10:09:04 +0000 (10:09 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 13 Feb 2017 14:54:05 +0000 (14:54 +0000)
commitbbc1ab8d2aaddcb03b0f3ce7b83013c98565c41c
treebaea1bd7f1d73471927925d87097e956666e4edd
parentf1de9905b1ce11084db2ab394a7a5b031c09bc10
test: Add some OOM paths to the dbus-daemon-eavesdrop path

This will shut Coverity up. All the paths are checks on the return value
from dbus_message_set_destination().

Coverity IDs: 54822, 54823, 54824, 54825

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99712
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
test/dbus-daemon-eavesdrop.c