summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-12-12 15:19:14 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-12-12 15:19:14 +0100
commit70eca1a4ceaee85b89a9589b87657fbd34c3c6c9 (patch)
tree42d332b9a4fb2c5b4528ff86c49419af513dc64a /src
parent602b25d4af1ad51366ecc6ec5473fa6aadd0f6f0 (diff)
downloadlibuca-70eca1a4ceaee85b89a9589b87657fbd34c3c6c9.tar.gz
libuca-70eca1a4ceaee85b89a9589b87657fbd34c3c6c9.tar.bz2
libuca-70eca1a4ceaee85b89a9589b87657fbd34c3c6c9.tar.xz
libuca-70eca1a4ceaee85b89a9589b87657fbd34c3c6c9.zip
Guard property list with NULL
Diffstat (limited to 'src')
-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;
}