author | Junio C Hamano <junkio@cox.net> | |
Mon, 18 Apr 2005 22:07:24 +0000 (15:07 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 18 Apr 2005 22:07:24 +0000 (15:07 -0700) | ||
commit | c157d376740f224789f464785718f3757ea8aa92 | |
tree | 59c1a227ca811eb95a38b69288bfc54fb87fd078 | tree | snapshot |
parent | 00829b5def72f36269796727c9589316a214dc85 | commit | diff |
[PATCH] show-diff.c: clean up private buffer use.
This patch fixes sq_expand() and show_differences() not to use and
hold onto its privately allocated buffer, which was a misguided
attempt to reduce calls to malloc but made later changes harder.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This patch fixes sq_expand() and show_differences() not to use and
hold onto its privately allocated buffer, which was a misguided
attempt to reduce calls to malloc but made later changes harder.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
show-diff.c | diff | blob | history |