summaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-08-16 14:57:26 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-08-16 14:57:26 +0100
commit9ea3d1aa7c44ded48e8f9db0b2e4219429b03bac (patch)
tree8e0cfba06430e2b0e40b26916a7ce55581e1baca /src/lua
parentef583245356015ce29961e0f7ffdb5880edc5fc2 (diff)
downloadrspamd-9ea3d1aa7c44ded48e8f9db0b2e4219429b03bac.tar.gz
rspamd-9ea3d1aa7c44ded48e8f9db0b2e4219429b03bac.zip
[Rework] Final efforts to make it compileable
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c
index 550e0a9ee..40f6f6c48 100644
--- a/src/lua/lua_util.c
+++ b/src/lua/lua_util.c
@@ -858,7 +858,7 @@ lua_util_config_from_ucl(lua_State *L)
{
LUA_TRACE_POINT;
struct rspamd_config *cfg = NULL, **pcfg;
- struct rspamd_rcl_section *top;
+ struct rspamd_rcl_sections_map *top;
GError *err = NULL;
ucl_object_t *obj;
const char *str_options = NULL;
@@ -901,6 +901,8 @@ lua_util_config_from_ucl(lua_State *L)
rspamd_lua_setclass(L, "rspamd{config}", -1);
*pcfg = cfg;
}
+
+ rspamd_rcl_sections_free(top);
}
return 1;