commit | dc46da2286cf0d42e1e5ebbd272c201dbc3a626a | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Fri May 05 22:38:06 2006 -0700 |
committer | Junio C Hamano <junkio@cox.net> | Fri May 05 22:40:45 2006 -0700 |
tree | 53cad8038a2d026e80df20df1ff35f4191f4cd94 | |
parent | 09895c1fa02f77acb2bde3d7e9da675eeb1271cf [diff] |
checkout-index: plug memory leak from prefix_path() 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>