Merge branch 'test-autolaunch-win-fixes' into 'master'

test-autolaunch-win.c: Prevent assertion in dbus_message_unref()

Closes #422

See merge request dbus/dbus!366
This commit is contained in:
Simon McVittie 2022-10-12 11:08:53 +00:00
commit cf3203575d

View file

@ -62,11 +62,11 @@ call_method (DBusConnection *conn,
/* ..._send_with_reply_and_block converts ERROR messages into errors */
_dbus_assert (dbus_message_get_type (reply) != DBUS_MESSAGE_TYPE_ERROR);
dbus_message_unref (reply);
result = TRUE;
out:
_DBUS_ASSERT_ERROR_XOR_BOOL (error, result);
dbus_message_unref (reply);
return result;
}