diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-01-04 03:24:14 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-04 03:24:14 +0300 |
commit | 8bb565d375e14ecbd31dee022b8b28e507e38674 (patch) | |
tree | 021d502eb42d007f32ef726c19e7e1c5e3231d63 /builtin | |
parent | 2ae0a9cb8298185a94e5998086f380a355dd8907 (diff) | |
parent | dee839a26331a67f5018e10edb158bdb550d3a32 (diff) |
Merge branch 'jc/unleak-log'
"git format-patch" uses a single rev_info instance and then exits.
Mark the structure with UNLEAK() macro to squelch leak sanitizer.
* jc/unleak-log:
format-patch: mark rev_info with UNLEAK
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/log.c b/builtin/log.c index 93ace0dde7..942c07ece6 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -2256,6 +2256,7 @@ done: strbuf_release(&rdiff1); strbuf_release(&rdiff2); strbuf_release(&rdiff_title); + UNLEAK(rev); return 0; } |