summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-06-13 19:18:06 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-06-13 19:18:06 -0400
commit67f802db79ab9fb088263119692076c9e4e28f42 (patch)
tree72d14113dea04948b1d5a8fe3f6447cc527ad191 /git.c
parent19b9e4e9b1aab03865b500fe4277869f98300464 (diff)
Fixed a stupid bug with not freeing the linked list.
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
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);
}
}