From 87162d5b1c227bfecedbe1fd39c66eb0e455f861 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 15 Jun 2018 13:21:06 +0100 Subject: [Fix] Fix memory leak in parsing comments --- contrib/libucl/ucl_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/libucl/ucl_util.c b/contrib/libucl/ucl_util.c index 1a3b34293..a65c30cec 100644 --- a/contrib/libucl/ucl_util.c +++ b/contrib/libucl/ucl_util.c @@ -2406,11 +2406,11 @@ ucl_object_insert_key_common (ucl_object_t *top, ucl_object_t *elt, } else { /* Just make a list of scalars */ - DL_APPEND (found, elt); + DL_CONCAT (found, elt); } } else { - DL_APPEND (found, elt); + DL_CONCAT (found, elt); } } -- cgit v1.2.3