summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-08-01 11:25:52 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-08-01 11:25:52 -0300
commit80585e40cba367159789fd4c52123288068510b4 (patch)
tree72c9339b12d75ca48ed1252d594d47978fbf043a /git.c
parent6de2da7f73135fcff28d33845e3b73f293125f60 (diff)
git: Make sure `pr->merge_branch` uses `free()` instead of
`free_git_branch()` Forgot to commit this when changing `merge_branch` to a string.
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 931ba09..c620342 100644
--- a/git.c
+++ b/git.c
@@ -131,7 +131,7 @@ void cleanup_pull_request(pull_request *pr) {
pr->comments = NULL;
}
if (pr->merge_branch != NULL) {
- free_git_branch(pr->merge_branch);
+ free(pr->merge_branch);
pr->merge_branch = NULL;
}
if (!pr->pr_type) {