aboutsummaryrefslogtreecommitdiff
path: root/core/array-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/array-test.c')
-rw-r--r--core/array-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/array-test.c b/core/array-test.c
index 5cf19a6..b96f26d 100644
--- a/core/array-test.c
+++ b/core/array-test.c
@@ -146,6 +146,7 @@ static void test_pointers(void) {
ok(array_add(&arr, &byte) && (ptr = array_get(&arr, 0)) && *ptr == byte,
"Add byte element");
ok(!array_get_ptr(&arr, 0) && errno == ENOTSUP, "Get pointer from non-pointer array");
+ array_release(&arr);
array_init(&arr);
ok(array_length(&arr) == 0 && array_get_ptr(&arr, 0) == NULL && errno == EINVAL,