Tree
- Tree:
417e8d573dc9f89cd8190e404b0808ba1bc206e4
- Date:
- Message:
- got: style(9) and cleanup failure leaks lib/diff.c Spotted while implementing diffstat plus one introduced with diffstat code. Don't leak 'change' on got_pathlist_append() error. And don't leak modestr{1,2} and l{1,2} char pointers in diff_blobs() and got_diff_tree(), respecitvely. Regarding modestr leaks, rather than free at all error return points, use op's suggestion to lift modestr vars to function scope. ok op@
Makefile | commits | blame |
parse.y | commits | blame |
template.1 | commits | blame |
template.7 | commits | blame |
template.c | commits | blame |
tmpl.c | commits | blame |
tmpl.h | commits | blame |