summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}