diff options
Diffstat (limited to 'libpurple/tests/test_contact_info.c')
-rw-r--r-- | libpurple/tests/test_contact_info.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libpurple/tests/test_contact_info.c b/libpurple/tests/test_contact_info.c index 9c64b59713..367fbb9a65 100644 --- a/libpurple/tests/test_contact_info.c +++ b/libpurple/tests/test_contact_info.c @@ -437,6 +437,8 @@ test_purple_contact_info_presence_changed_signal(void) { *****************************************************************************/ gint main(gint argc, gchar *argv[]) { + gint ret = 0; + g_test_init(&argc, &argv, NULL); test_ui_purple_init(); @@ -486,5 +488,9 @@ main(gint argc, gchar *argv[]) { g_test_add_func("/contact-info/presence-changed-signal", test_purple_contact_info_presence_changed_signal); - return g_test_run(); + ret = g_test_run(); + + test_ui_purple_uninit(); + + return ret; } |