aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-06 11:41:37 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-06 11:41:37 +0100
commit783cb95713a2e97bda53d5f3c2112303d38d3507 (patch)
tree5f0eed3224ef0972e2a3cb6ee968ade1583cd980 /main.c
parentAdd llist FIRST & LAST, rewrote code to use them. (diff)
downloadcalp-783cb95713a2e97bda53d5f3c2112303d38d3507.tar.gz
calp-783cb95713a2e97bda53d5f3c2112303d38d3507.tar.xz
Remove GC.
Diffstat (limited to 'main.c')
-rw-r--r--main.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/main.c b/main.c
index 87be26ff..6ed74323 100644
--- a/main.c
+++ b/main.c
@@ -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);
}