aboutsummaryrefslogtreecommitdiff
path: root/src/vdf/vdf.c
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-06-30 19:26:37 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-06-30 19:26:37 +0200
commit4833e4be7e55776a47169cdea926444e1cdeabe6 (patch)
treee24b5e70a961574da28218a499c2f9ec281de6a5 /src/vdf/vdf.c
parentcbf1b717914ca9d3e52d7ceaae153928afcc9eda (diff)
downloadOFQT-4833e4be7e55776a47169cdea926444e1cdeabe6.tar.gz
OFQT-4833e4be7e55776a47169cdea926444e1cdeabe6.zip
add launch options to Qt frontend
Diffstat (limited to 'src/vdf/vdf.c')
-rw-r--r--src/vdf/vdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdf/vdf.c b/src/vdf/vdf.c
index fc43e8c..c9130a6 100644
--- a/src/vdf/vdf.c
+++ b/src/vdf/vdf.c
@@ -195,7 +195,7 @@ struct vdf_object* vdf_parse_buffer(const char* buffer, size_t size)
o->type = VDF_TYPE_ARRAY;
o->data.data_array.len = 0;
o->data.data_array.data_value = malloc((sizeof(void*)) * (o->data.data_array.len + 1));
- o->data.data_array.data_value[o->data.data_array.len] = malloc(sizeof(struct vdf_object)),
+ o->data.data_array.data_value[o->data.data_array.len] = malloc(sizeof(struct vdf_object));
o->data.data_array.data_value[o->data.data_array.len]->parent = o;
o = o->data.data_array.data_value[o->data.data_array.len];