aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-20 23:48:53 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-20 23:48:53 +0100
commit2ac61eafc2c702a57bb7252f86777fa4f3eb3ac3 (patch)
tree0d7601dc0fe4c8be116cd0dfe0fdfd7b12258ab1 /test
parent52e716a00e86f77812ec10968c68789ec3a8bdee (diff)
downloadrspamd-2ac61eafc2c702a57bb7252f86777fa4f3eb3ac3.tar.gz
rspamd-2ac61eafc2c702a57bb7252f86777fa4f3eb3ac3.zip
Destroy memory pool in test.
Diffstat (limited to 'test')
-rw-r--r--test/lua/unit/mempool.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lua/unit/mempool.lua b/test/lua/unit/mempool.lua
index 2afaad7ec..7bb404646 100644
--- a/test/lua/unit/mempool.lua
+++ b/test/lua/unit/mempool.lua
@@ -33,5 +33,7 @@ context("Memory pool unit tests", function()
assert_equal(v2, 1)
assert_equal(v3, 1.01)
assert_equal(v4, false)
+
+ pool:destroy()
end)
end) \ No newline at end of file