libpurple/tests/test_contact.c

changeset 42184
4e1bf25f5575
parent 41948
6d844d2faff1
child 42866
4b201e18638f
--- a/libpurple/tests/test_contact.c	Thu Mar 23 22:49:23 2023 -0500
+++ b/libpurple/tests/test_contact.c	Thu Mar 23 23:11:59 2023 -0500
@@ -83,6 +83,8 @@
  *****************************************************************************/
 gint
 main(gint argc, gchar *argv[]) {
+	gint ret = 0;
+
 	g_test_init(&argc, &argv, NULL);
 
 	test_ui_purple_init();
@@ -92,5 +94,9 @@
 	g_test_add_func("/contact/properties",
 	                test_purple_contact_properties);
 
-	return g_test_run();
+	ret = g_test_run();
+
+	test_ui_purple_uninit();
+
+	return ret;
 }

mercurial