about summary refs log tree commit diff stats
path: root/tests/test_contact.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-28 21:51:43 +0000
committerJames Booth <boothj5@gmail.com>2014-01-28 21:51:43 +0000
commit788fc48b1de1152390a7fe3284a7818fba805448 (patch)
tree5f584b1375e4948de474d497029c4092098684b1 /tests/test_contact.c
parentc3ea8f8d0bc3a8e4f5660a76e3988847e18de824 (diff)
downloadprofani-tty-788fc48b1de1152390a7fe3284a7818fba805448.tar.gz
Fixed double free'ing in tests
Diffstat (limited to 'tests/test_contact.c')
-rw-r--r--tests/test_contact.c4
1 files changed, 2 insertions, 2 deletions
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)