aboutsummaryrefslogtreecommitdiff
path: root/contrib/libucl/tests/test_msgpack.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libucl/tests/test_msgpack.c')
-rw-r--r--contrib/libucl/tests/test_msgpack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libucl/tests/test_msgpack.c b/contrib/libucl/tests/test_msgpack.c
index 00f804a0a07e..5415c912d33d 100644
--- a/contrib/libucl/tests/test_msgpack.c
+++ b/contrib/libucl/tests/test_msgpack.c
@@ -456,6 +456,7 @@ ucl_test_large_string (void)
res = ucl_object_fromstring_common (str, cur_len % 100000,
UCL_STRING_RAW);
res->flags |= UCL_OBJECT_BINARY;
+ free (str);
return res;
}