summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-08-01 12:35:39 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-08-01 12:35:39 -0400
commit93d03ae58000116781a376eae9c089a4d0e57af1 (patch)
treeb68879c024f9c89e3c299abf7e8d292d167b2b3b
parent9b6c746ac1a314b2867fc7e99eee5630bced4cfe (diff)
Removed a free to a non-existent variable in
`create_pull_request_dir()`. Forgot about thatm lol.
-rw-r--r--git.c2
1 files changed, 0 insertions, 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;