commit | 1016658de3fe213eedebdb478cca0324ac8fbe87 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Thu Apr 23 14:37:13 2015 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Apr 29 13:17:52 2015 -0700 |
tree | 7f90a29f3f77684906fdbf81f26bfdd0a6cca41a | |
parent | eaa4e59c8545f61c6e61559df33dc4792e455d5a [diff] |
merge: small leakfix and code simplification When parsing a merged object name like "foo~20" to formulate a merge summary "Merge branch foo (early part)", a temporary strbuf is used, but we forgot to deallocate it when we failed to find the named branch. Signed-off-by: Junio C Hamano <gitster@pobox.com>