[libsoup] server-test: Fix crash on cleanup
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] server-test: Fix crash on cleanup
- Date: Thu, 8 Oct 2020 19:53:34 +0000 (UTC)
commit aa740e084dd0bc44427d80735fba36b9064fbbb2
Author: Patrick Griffis <pgriffis igalia com>
Date: Thu Oct 8 14:52:52 2020 -0500
server-test: Fix crash on cleanup
index doesn't transfer ownership and shouldn't be unrefed
tests/server-test.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/tests/server-test.c b/tests/server-test.c
index 38716ffc..3c5a1cab 100644
--- a/tests/server-test.c
+++ b/tests/server-test.c
@@ -1010,7 +1010,6 @@ do_early_stream_test (ServerData *sd, gconstpointer test_data)
g_assert_cmpmem (md5, strlen (md5), g_bytes_get_data (body, NULL), g_bytes_get_size (body));
g_free (md5);
- g_bytes_unref (index);
g_bytes_unref (body);
g_object_unref (msg);
soup_test_session_abort_unref (session);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]