aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_map.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-14 17:26:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-14 17:26:22 +0100
commitd168084c5a7830353786e466b484a9db7d36b6c6 (patch)
treef60102b562daa05558675b3d52b7be98ba5d805e /src/lua/lua_map.c
parent2ffba6be3740d5c3f8fe03a6a742310f6b770cff (diff)
downloadrspamd-d168084c5a7830353786e466b484a9db7d36b6c6.tar.gz
rspamd-d168084c5a7830353786e466b484a9db7d36b6c6.zip
[Minor] Fix more init/deinit leaks
Diffstat (limited to 'src/lua/lua_map.c')
-rw-r--r--src/lua/lua_map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_map.c b/src/lua/lua_map.c
index d5914706c..d3fc8edb9 100644
--- a/src/lua/lua_map.c
+++ b/src/lua/lua_map.c
@@ -277,11 +277,13 @@ lua_config_radix_from_ucl (lua_State *L)
msg_err_config ("invalid radix map static");
lua_pushnil (L);
ucl_object_unref (fake_obj);
+ ucl_object_unref (obj);
return 1;
}
ucl_object_unref (fake_obj);
+ ucl_object_unref (obj);
pmap = lua_newuserdata (L, sizeof (void *));
map->map = m;
m->lua_map = map;