aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check-empathy-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check-empathy-helpers.c')
-rw-r--r--tests/check-empathy-helpers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/check-empathy-helpers.c b/tests/check-empathy-helpers.c
index e67483d0d..0946434bd 100644
--- a/tests/check-empathy-helpers.c
+++ b/tests/check-empathy-helpers.c
@@ -78,7 +78,7 @@ create_test_account (void)
}
void
-remove_account_from_gconf (McAccount *account)
+destroy_test_account (McAccount *account)
{
GConfClient *client;
gchar *path;
@@ -135,4 +135,7 @@ remove_account_from_gconf (McAccount *account)
g_object_unref (client);
g_free (path);
+
+ mc_account_delete (account);
+ g_object_unref (account);
}