summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorLidong Yan <502024330056@smail.nju.edu.cn>2025-06-10 00:37:59 +0000
committerJunio C Hamano <gitster@pobox.com>2025-06-09 20:41:17 -0700
commita3d278bb6457fa33461891a8f0a4ccffaf0f5296 (patch)
tree4779e46a733530587537cfa27f5ff2ae1c40052e /git-gui/lib/commit.tcl
parentd50a5e8939abfc07c2ff97ae72e9330939b36ee0 (diff)
revision: fix memory leak in prepare_show_merge()
In revision.c:prepare_show_merge(), we allocated an array in prune but forget to free it. Since parse_pathspec is not responsible to free prune, we should add `free(prune)` in the end of prepare_show_merge(). Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions