mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 07:38:20 +02:00
Fix crash in test-spawn unit test app on Windows.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=95160 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
eaf231b7db
commit
cdf9fd02d2
1 changed files with 2 additions and 1 deletions
|
|
@ -659,7 +659,8 @@ _dbus_spawn_async_with_babysitter (DBusBabysitter **sitter_p,
|
|||
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
|
||||
_dbus_assert (argv[0] != NULL);
|
||||
|
||||
*sitter_p = NULL;
|
||||
if (sitter_p != NULL)
|
||||
*sitter_p = NULL;
|
||||
|
||||
PING();
|
||||
sitter = _dbus_babysitter_new ();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue