diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-08-01 12:35:39 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-08-01 12:35:39 -0400 |
commit | 93d03ae58000116781a376eae9c089a4d0e57af1 (patch) | |
tree | b68879c024f9c89e3c299abf7e8d292d167b2b3b | |
parent | 9b6c746ac1a314b2867fc7e99eee5630bced4cfe (diff) |
Removed a free to a non-existent variable in
`create_pull_request_dir()`.
Forgot about thatm lol.
-rw-r--r-- | git.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |