diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-05 22:53:56 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-05 22:53:56 -0700 |
commit | fb69a760cc9103d1f8341a3c8ea09bd15a8a412d (patch) | |
tree | 94aeec4fbfbcacd46aee6a19b129250dff064756 /builtin-grep.c | |
parent | checkout-index: plug memory leak from prefix_path() (diff) | |
download | tgif-fb69a760cc9103d1f8341a3c8ea09bd15a8a412d.tar.xz |
update-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>
Diffstat (limited to 'builtin-grep.c')
0 files changed, 0 insertions, 0 deletions