From 70eca1a4ceaee85b89a9589b87657fbd34c3c6c9 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 12 Dec 2013 15:19:14 +0100 Subject: Guard property list with NULL --- src/uca-ring-buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/uca-ring-buffer.c') 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; } -- cgit v1.2.3