From 80585e40cba367159789fd4c52123288068510b4 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Mon, 1 Aug 2022 11:25:52 -0300 Subject: git: Make sure `pr->merge_branch` uses `free()` instead of `free_git_branch()` Forgot to commit this when changing `merge_branch` to a string. --- git.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git.c') 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) { -- cgit v1.2.3-13-gbd6f