summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/uca-ring-buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uca-ring-buffer.c b/src/uca-ring-buffer.c
index d2b40a4..2f5bfe1 100644
--- a/src/uca-ring-buffer.c
+++ b/src/uca-ring-buffer.c
@@ -47,7 +47,8 @@ uca_ring_buffer_new (gsize block_size,
buffer = g_object_new (UCA_TYPE_RING_BUFFER,
"block-size", (guint64) block_size,
- "num-blocks", n_blocks);
+ "num-blocks", n_blocks,
+ NULL);
return buffer;
}