summaryrefslogtreecommitdiff
path: root/common/tests/test-array.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/tests/test-array.c')
-rw-r--r--common/tests/test-array.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/tests/test-array.c b/common/tests/test-array.c
index 8e8f996..695917a 100644
--- a/common/tests/test-array.c
+++ b/common/tests/test-array.c
@@ -151,6 +151,7 @@ test_remove_and_count (void)
for (i = 0; i < 20000; ++i) {
value = malloc (sizeof (int));
+ assert (value != NULL);
*value = i;
if (!p11_array_push (array, value))
assert_not_reached ();