summaryrefslogtreecommitdiffstats
path: root/test/ring_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-09-10 20:11:47 -0400
committerDavid Robillard <d@drobilla.net>2021-09-10 20:54:28 -0400
commit731ce39ef6fa35f64c19947bdb1719028478fdb9 (patch)
tree87304c55061fc9cd0ab1c3007a78eff44de137dc /test/ring_test.c
parent904c1b4d699aeb1ce170f0cd996a01d2d06812e3 (diff)
downloadzix-731ce39ef6fa35f64c19947bdb1719028478fdb9.tar.gz
zix-731ce39ef6fa35f64c19947bdb1719028478fdb9.tar.bz2
zix-731ce39ef6fa35f64c19947bdb1719028478fdb9.zip
Add custom allocator support
Diffstat (limited to 'test/ring_test.c')
-rw-r--r--test/ring_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ring_test.c b/test/ring_test.c
index 61a6d1f..23c5adc 100644
--- a/test/ring_test.c
+++ b/test/ring_test.c
@@ -137,7 +137,7 @@ main(int argc, char** argv)
MSG_SIZE,
size);
- ring = zix_ring_new(size);
+ ring = zix_ring_new(NULL, size);
assert(ring);
if (zix_ring_read_space(ring) != 0) {
return failure("New ring is not empty\n");