From 40e2310e6546325b79f38ef41f258284fe5c1b01 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 18 Sep 2014 14:16:46 +0100 Subject: Add cleanup. --- test/rspamd_test_suite.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/rspamd_test_suite.c') diff --git a/test/rspamd_test_suite.c b/test/rspamd_test_suite.c index 36b66f05e..b3a154b63 100644 --- a/test/rspamd_test_suite.c +++ b/test/rspamd_test_suite.c @@ -21,6 +21,7 @@ main (int argc, char **argv) g_thread_init (NULL); #endif + g_mime_init (0); memset (rspamd_main, 0, sizeof (struct rspamd_main)); rspamd_main->server_pool = rspamd_mempool_new (rspamd_mempool_suggest_size ()); rspamd_main->cfg = (struct rspamd_config *)g_malloc (sizeof (struct rspamd_config)); @@ -55,5 +56,7 @@ main (int argc, char **argv) g_test_run (); + g_mime_shutdown (); + return 0; } -- cgit v1.2.3