builtin/mv.c: plug miniscule memory leak
authorBrandon Casey <drafnel@gmail.com>
Thu, 6 Oct 2011 18:22:23 +0000 (13:22 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Oct 2011 20:54:32 +0000 (13:54 -0700)
commit0d0ff65cea5424a202510fa4e28a461d36032276
tree86f4aee1bddefc29d904f176c59a2cc0b4bf03cd
parent040a655116c9755bbf30acd22c34eecb2f502c6d
builtin/mv.c: plug miniscule memory leak

The "it" string would not be free'ed if base_name was non-NULL.
Let's free it.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/mv.c