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
This commit is contained in:
@ -2256,6 +2256,7 @@ done:
|
|||||||
strbuf_release(&rdiff1);
|
strbuf_release(&rdiff1);
|
||||||
strbuf_release(&rdiff2);
|
strbuf_release(&rdiff2);
|
||||||
strbuf_release(&rdiff_title);
|
strbuf_release(&rdiff_title);
|
||||||
|
UNLEAK(rev);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user