Fixed double free'ing in tests

This commit is contained in:
James Booth
2014-01-28 21:51:43 +00:00
parent c3ea8f8d0b
commit 788fc48b1d
3 changed files with 10 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ void contact_in_group(void **state)
assert_true(result);
p_contact_free(contact);
g_slist_free(groups);
// g_slist_free(groups);
}
void contact_not_in_group(void **state)
@@ -35,7 +35,7 @@ void contact_not_in_group(void **state)
assert_false(result);
p_contact_free(contact);
g_slist_free(groups);
// g_slist_free(groups);
}
void contact_name_when_name_exists(void **state)