]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/commit: fix leaking change data contents
authorPatrick Steinhardt <ps@pks.im>
Tue, 5 Nov 2024 06:17:09 +0000 (07:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Nov 2024 06:37:53 +0000 (22:37 -0800)
commitd34b5cbf028ffda45928e50884a6ef3aa533e6e5
treea4ec5adac43d838ce0e8d99cb2745b83a0a858b7
parent3b373150c8ea52ed64db0e7b0bd5a9b483e99a8e
builtin/commit: fix leaking change data contents

While we free the worktree change data, we never free its contents. Fix
this.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
t/t7500-commit-template-squash-signoff.sh