summaryrefslogtreecommitdiff
path: root/test/test-utils.h
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-11-27 19:23:10 +0000
committerSimon McVittie <smcv@collabora.com>2017-12-04 11:52:45 +0000
commit38ff6bd20d58b57a5dd0eab1b1c09c5c43b61d26 (patch)
tree7420e683aa7f454f2da0f3a8952bc44b9fe71509 /test/test-utils.h
parent929c15c797d1cb1fae373b275c66cb9a6082454f (diff)
downloaddbus-38ff6bd20d58b57a5dd0eab1b1c09c5c43b61d26.tar.gz
test_connection_setup: Don't crash on unlikely OOM
If _dbus_loop_queue_dispatch fails with OOM, we'd try to free cd, while cd is already owned by the connection's timeout functions. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=100317 Reviewed-by: Philip Withnall <withnall@endlessm.com> Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'test/test-utils.h')
0 files changed, 0 insertions, 0 deletions