aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libucl
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-15 13:21:06 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-15 13:21:06 +0100
commit87162d5b1c227bfecedbe1fd39c66eb0e455f861 (patch)
tree81bd3bd64abd0072d7a20e62d50418ff9f536ea2 /contrib/libucl
parentd168084c5a7830353786e466b484a9db7d36b6c6 (diff)
downloadrspamd-87162d5b1c227bfecedbe1fd39c66eb0e455f861.tar.gz
rspamd-87162d5b1c227bfecedbe1fd39c66eb0e455f861.zip
[Fix] Fix memory leak in parsing comments
Diffstat (limited to 'contrib/libucl')
-rw-r--r--contrib/libucl/ucl_util.c4
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);
}
}