From: Vsevolod Stakhov Date: Fri, 15 Jun 2018 12:21:06 +0000 (+0100) Subject: [Fix] Fix memory leak in parsing comments X-Git-Tag: 1.7.6~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87162d5b1c227bfecedbe1fd39c66eb0e455f861;p=thirdparty%2Frspamd.git [Fix] Fix memory leak in parsing comments --- diff --git a/contrib/libucl/ucl_util.c b/contrib/libucl/ucl_util.c index 1a3b34293d..a65c30cec2 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); } }