diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-19 18:08:33 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-19 18:08:33 +0000 |
commit | f5508c5161361dbc09eb0ff0a16691e708516546 (patch) | |
tree | ef6491c1e1708bf4245a1651eab48e20ce6f3c60 /src/lua/lua_mempool.c | |
parent | beb98631d782d976c952182c398033db5f6a8c04 (diff) | |
download | rspamd-f5508c5161361dbc09eb0ff0a16691e708516546.tar.gz rspamd-f5508c5161361dbc09eb0ff0a16691e708516546.zip |
[Minor] Small fixes in lua api
Diffstat (limited to 'src/lua/lua_mempool.c')
-rw-r--r-- | src/lua/lua_mempool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/lua_mempool.c b/src/lua/lua_mempool.c index 38482748f..8fe8b5cc3 100644 --- a/src/lua/lua_mempool.c +++ b/src/lua/lua_mempool.c @@ -141,7 +141,8 @@ rspamd_lua_check_mempool (lua_State * L, gint pos) static int lua_mempool_create (lua_State *L) { - struct memory_pool_s *mempool = rspamd_mempool_new (rspamd_mempool_suggest_size (), NULL), **pmempool; + struct memory_pool_s *mempool = rspamd_mempool_new ( + rspamd_mempool_suggest_size (), "lua"), **pmempool; if (mempool) { pmempool = lua_newuserdata (L, sizeof (struct memory_pool_s *)); |