diff options
| author | Patrick Griffis <pgriffis@igalia.com> | 2020-11-25 15:23:01 -0600 |
|---|---|---|
| committer | Patrick Griffis <pgriffis@igalia.com> | 2020-11-25 15:23:01 -0600 |
| commit | c55a08659e4d60b602829d6594e61ec220a318ab (patch) | |
| tree | c8b7f90d5c980c232e91dc1a5e2164d9f565cea8 | |
| parent | e81dd30138a31abc01ffacedaecbe145c251fde6 (diff) | |
| download | libsoup-c55a08659e4d60b602829d6594e61ec220a318ab.tar.gz | |
cache-test: Fix leak
| -rw-r--r-- | tests/cache-test.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/cache-test.c b/tests/cache-test.c index ce0a077b..361d1136 100644 --- a/tests/cache-test.c +++ b/tests/cache-test.c @@ -594,12 +594,14 @@ do_refcounting_test (gconstpointer data) soup_cache_flush ((SoupCache *)soup_session_get_feature (session, SOUP_TYPE_CACHE)); + g_object_unref (cache); + g_free (cache_dir); + g_test_skip ("FIXME: Session has 1 ref at the end, SessionAsync had a different clear_message function with different semantics."); + return; - soup_test_session_abort_unref (session); - g_object_unref (cache); - g_free (cache_dir); + soup_test_session_abort_unref (session); } static void |
