summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-10-12 11:08:53 +0000
committerSimon McVittie <smcv@collabora.com>2022-10-12 11:08:53 +0000
commitcf3203575d1d55dd54582aa71d2fa35f91cae85b (patch)
tree6ceff656b0174928629c9ba3f0c29d904cf49a6c
parentb081c0a5538f87acbc4406c736db7f7317941d4c (diff)
parent7724bf574ca2d1407daf0be336977e5f6cccf45d (diff)
downloaddbus-cf3203575d1d55dd54582aa71d2fa35f91cae85b.tar.gz
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
-rw-r--r--test/name-test/test-autolaunch-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/name-test/test-autolaunch-win.c b/test/name-test/test-autolaunch-win.c
index 30b8353b..b2a7e9c7 100644
--- a/test/name-test/test-autolaunch-win.c
+++ b/test/name-test/test-autolaunch-win.c
@@ -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;
}