diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-15 13:21:06 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-15 13:21:06 +0100 |
commit | 87162d5b1c227bfecedbe1fd39c66eb0e455f861 (patch) | |
tree | 81bd3bd64abd0072d7a20e62d50418ff9f536ea2 | |
parent | d168084c5a7830353786e466b484a9db7d36b6c6 (diff) | |
download | rspamd-87162d5b1c227bfecedbe1fd39c66eb0e455f861.tar.gz rspamd-87162d5b1c227bfecedbe1fd39c66eb0e455f861.zip |
[Fix] Fix memory leak in parsing comments
-rw-r--r-- | contrib/libucl/ucl_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |