summaryrefslogtreecommitdiff
path: root/p11-kit/tests/test-iter.c
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/tests/test-iter.c')
-rw-r--r--p11-kit/tests/test-iter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/tests/test-iter.c b/p11-kit/tests/test-iter.c
index 81aa06c..ccfce2c 100644
--- a/p11-kit/tests/test-iter.c
+++ b/p11-kit/tests/test-iter.c
@@ -983,6 +983,7 @@ test_load_attributes_none (CuTest *tc)
attrs = p11_attrs_buildn (NULL, NULL, 0);
rv = p11_kit_iter_load_attributes (iter, attrs, 0);
CuAssertTrue (tc, rv == CKR_OK);
+ p11_attrs_free (attrs);
}
CuAssertTrue (tc, rv == CKR_CANCEL);