aboutsummaryrefslogtreecommitdiffstats
path: root/test/rspamd_test_suite.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-18 14:16:46 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-18 14:16:46 +0100
commit40e2310e6546325b79f38ef41f258284fe5c1b01 (patch)
treef7d39cb80bc47e060629f1a0a9bb179e0cae0b18 /test/rspamd_test_suite.c
parent48de7ad408a36a75c58a506ca51efd37a34f8b6e (diff)
downloadrspamd-40e2310e6546325b79f38ef41f258284fe5c1b01.tar.gz
rspamd-40e2310e6546325b79f38ef41f258284fe5c1b01.zip
Add cleanup.
Diffstat (limited to 'test/rspamd_test_suite.c')
-rw-r--r--test/rspamd_test_suite.c3
1 files changed, 3 insertions, 0 deletions
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;
}