aboutsummaryrefslogtreecommitdiff
path: root/tests/test-base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-base64.c')
-rw-r--r--tests/test-base64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-base64.c b/tests/test-base64.c
index ec122ceba5..a7f722c459 100644
--- a/tests/test-base64.c
+++ b/tests/test-base64.c
@@ -54,10 +54,9 @@ static void test_base64_bad(const char *input,
&len,
&err);
- g_assert(err != NULL);
+ error_free_or_abort(&err);
g_assert(actual == NULL);
g_assert_cmpint(len, ==, 0);
- error_free(err);
}