replace: plug a memory leak
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Apr 2017 04:56:54 +0000 (21:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Apr 2017 04:56:54 +0000 (21:56 -0700)
Recent update to for_each_replace_name() to make it use a strbuf in
place of a fixed buffer forgot to release the memory held by the
strbuf before leaving the function.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found