diff options
author | Eric Wong <e@80x24.org> | 2024-06-22 04:36:48 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-06-24 09:07:21 -0700 |
commit | 493fdae0464282fbac99f60d94bfaabf5559c9ff (patch) | |
tree | e1353167ea74077cd0e6864d238f64ac55fc01d9 /diff.c | |
parent | 786a3e4b8d754d2b14b1208b98eeb0a554ef19a8 (diff) |
object-file: fix leak on conversion failure
I'm not sure exactly how to trigger the leak, but it seems fairly
obvious that the `content' buffer should be freed even if
convert_object_file() fails. Noticed while working in this area
on unrelated things.
Signed-off-by: Eric Wong <e@80x24.org>
Acked-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions