update-index: plug memory leak from prefix_path()
authorJunio C Hamano <junkio@cox.net>
Sat, 6 May 2006 05:53:56 +0000 (22:53 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 6 May 2006 05:53:56 +0000 (22:53 -0700)
prefix_path() sometimes allocates new memory and returns it, and
other times returns the incoming path argument intact.  The
callers need to be a bit careful not to leak memory.

Signed-off-by: Junio C Hamano <junkio@cox.net>

No differences found