From 67f802db79ab9fb088263119692076c9e4e28f42 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 13 Jun 2021 19:18:06 -0400 Subject: Fixed a stupid bug with not freeing the linked list. --- git.c | 1 + 1 file changed, 1 insertion(+) diff --git a/git.c b/git.c index 5e86642..03bbb5f 100644 --- a/git.c +++ b/git.c @@ -44,6 +44,7 @@ void cleanup_linked_list(git_repo *root) { cleanup_linked_list(root->next); repo->repo = NULL; repo->next = NULL; + free(repo); } } -- cgit v1.2.3-13-gbd6f