dbus-object-tree: Correctly report failure from an internal test

Coverity ID: 54711
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99758
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
Philip Withnall 2017-02-10 11:05:21 +00:00 committed by Simon McVittie
parent 4f115dd46c
commit 72b18c54c6

View file

@ -2315,11 +2315,9 @@ object_tree_test_iteration (void *data)
dbus_bool_t
_dbus_object_tree_test (void)
{
_dbus_test_oom_handling ("object tree",
object_tree_test_iteration,
NULL);
return TRUE;
return _dbus_test_oom_handling ("object tree",
object_tree_test_iteration,
NULL);
}
#endif /* !DOXYGEN_SHOULD_SKIP_THIS */