Commit cdf9fd02 authored by Yiyang Fei's avatar Yiyang Fei Committed by Ralf Habacker

Fix crash in test-spawn unit test app on Windows.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=95160Reviewed-by: 's avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent eaf231b7
...@@ -659,7 +659,8 @@ _dbus_spawn_async_with_babysitter (DBusBabysitter **sitter_p, ...@@ -659,7 +659,8 @@ _dbus_spawn_async_with_babysitter (DBusBabysitter **sitter_p,
_DBUS_ASSERT_ERROR_IS_CLEAR (error); _DBUS_ASSERT_ERROR_IS_CLEAR (error);
_dbus_assert (argv[0] != NULL); _dbus_assert (argv[0] != NULL);
*sitter_p = NULL; if (sitter_p != NULL)
*sitter_p = NULL;
PING(); PING();
sitter = _dbus_babysitter_new (); sitter = _dbus_babysitter_new ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment