diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-06 11:41:37 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-06 11:41:37 +0100 |
commit | 783cb95713a2e97bda53d5f3c2112303d38d3507 (patch) | |
tree | 5f0eed3224ef0972e2a3cb6ee968ade1583cd980 /main.c | |
parent | Add llist FIRST & LAST, rewrote code to use them. (diff) | |
download | calp-783cb95713a2e97bda53d5f3c2112303d38d3507.tar.gz calp-783cb95713a2e97bda53d5f3c2112303d38d3507.tar.xz |
Remove GC.
Diffstat (limited to '')
-rw-r--r-- | main.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -61,16 +61,4 @@ int main (int argc, char* argv[argc]) { } } free_vcalendar(&cal); - - for (int i = 0; i < gc_ptr; i++) { - if (gc_vect[i] != NULL) { - // printf("clines[%i] : [%s] := [%s]\n", i, clines[i]->key.mem, clines[i]->val.mem); - // printf("gc_vect[%i] : [%s] := [%s]\n", i, gc_vect[i]->key.mem, gc_vect[i]->vals.head->after->value->mem); - printf("gc_vect[%i] : [%s] := [%s]\n", i, - ((content_line*) gc_vect[i])->key.mem, - ((content_line*) gc_vect[i])->vals.head->after->value->mem); - } - } - - free(gc_vect); } |