do not free inside the fct
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 16 Feb 2014 23:20:14 +0000 (23:20 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 16 Feb 2014 23:20:14 +0000 (23:20 +0000)
src/list.c

index 21daca6..0d5b02e 100644 (file)
@@ -73,8 +73,6 @@ void **list_append_list(void **list1, void **list2)
 
        list[n1+n2] = NULL;
 
-       free(list1);
-
        return list;
 }