Fix memory leak in prepend_to_path (git.c).
authorChristian Couder <chriscool@tuxfamily.org>
Tue, 5 Sep 2006 06:22:16 +0000 (08:22 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 6 Sep 2006 00:40:49 +0000 (17:40 -0700)
commit0caea90be0e565a923b69df7b32c13cbcf892d6d
tree90da9270a6ebd65dc6851edd763f5e92fcd47819
parentc41e20b30b2bd4b8167917336676cde6f6aadd06
Fix memory leak in prepend_to_path (git.c).

Some memory was allocated for a new path but not freed
after the path was used.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c