]> git.0d.be Git - empathy.git/commitdiff
fix leak in destroy_test_account
authorXavier Claessens <xclaesse@src.gnome.org>
Mon, 13 Oct 2008 07:54:32 +0000 (07:54 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 13 Oct 2008 07:54:32 +0000 (07:54 +0000)
svn path=/trunk/; revision=1556

tests/check-empathy-helpers.c

index 0946434bdd5e903ec0540fa27be43cfc53f81c92..370fb2922d28fbf57cfd0ec8b0be6df1d283ed0e 100644 (file)
@@ -117,6 +117,8 @@ destroy_test_account (McAccount *account)
               if (g_rmdir (dir) != 0)
                 g_print ("can't remove %s\n", dir);
             }
+
+          g_free (dir);
         }
 
       /* FIXME: this doesn't remove the key */