summaryrefslogtreecommitdiffstats
path: root/test/ring_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-16 14:45:36 +0100
committerDavid Robillard <d@drobilla.net>2021-01-16 14:45:36 +0100
commitce1e5cc0ee32d7b66b311b61bf38d9eefc522e7c (patch)
tree39356b6fae838c4ac7300a76480a978c437276f2 /test/ring_test.c
parent08991af7b742a62a64ecb429662659a5a0a6ebc6 (diff)
downloadzix-ce1e5cc0ee32d7b66b311b61bf38d9eefc522e7c.tar.gz
zix-ce1e5cc0ee32d7b66b311b61bf38d9eefc522e7c.tar.bz2
zix-ce1e5cc0ee32d7b66b311b61bf38d9eefc522e7c.zip
Allow all free functions to be called on null
Diffstat (limited to 'test/ring_test.c')
-rw-r--r--test/ring_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ring_test.c b/test/ring_test.c
index d4d2d38..24163fe 100644
--- a/test/ring_test.c
+++ b/test/ring_test.c
@@ -129,6 +129,8 @@ main(int argc, char** argv)
n_writes = (unsigned)atoi(argv[2]);
}
+ zix_ring_free(NULL);
+
printf("Testing %u writes of %d ints to a %u int ring...\n",
n_writes,
MSG_SIZE,