From 788fc48b1de1152390a7fe3284a7818fba805448 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 28 Jan 2014 21:51:43 +0000 Subject: Fixed double free'ing in tests --- tests/test_contact.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_contact.c') diff --git a/tests/test_contact.c b/tests/test_contact.c index 5bc84a38..88dd63c2 100644 --- a/tests/test_contact.c +++ b/tests/test_contact.c @@ -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) -- cgit 1.4.1-2-gfad0