From 93d03ae58000116781a376eae9c089a4d0e57af1 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 1 Aug 2021 12:35:39 -0400 Subject: Removed a free to a non-existent variable in `create_pull_request_dir()`. Forgot about thatm lol. --- git.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/git.c b/git.c index 66e5bfb..9648a45 100644 --- a/git.c +++ b/git.c @@ -329,8 +329,6 @@ int create_pull_request_dir(pull_request *pr, int id, const char *root) { char *filename = create_num_str(commits[i]->name, i); char *file = sanitized_dir_path_name(root, filename); - free(san_filename); - /* Does this patch file exists? */ if (access(file, F_OK) == 0) { long size = 0; -- cgit v1.2.3-13-gbd6f