]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Destroy memory pool in test.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 20 Jul 2015 22:48:53 +0000 (23:48 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 20 Jul 2015 22:48:53 +0000 (23:48 +0100)
test/lua/unit/mempool.lua

index 2afaad7ecc5b005ef005311e6458c115fa8f7de9..7bb4046468d53dd4f623ca874196e9e5dbb0d79d 100644 (file)
@@ -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