aboutsummaryrefslogtreecommitdiffstats
path: root/test/rspamd_test_suite.c
diff options
context:
space:
mode:
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;
}