author | Brandon Casey <drafnel@gmail.com> | |
Thu, 6 Oct 2011 18:22:23 +0000 (13:22 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 6 Oct 2011 20:54:32 +0000 (13:54 -0700) | ||
commit | 0d0ff65cea5424a202510fa4e28a461d36032276 | |
tree | 86f4aee1bddefc29d904f176c59a2cc0b4bf03cd | tree | snapshot |
parent | 040a655116c9755bbf30acd22c34eecb2f502c6d | commit | diff |
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>
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 | diff | blob | history |