[PATCH] show-diff.c: clean up private buffer use.
commitc157d376740f224789f464785718f3757ea8aa92
authorJunio C Hamano <junkio@cox.net>
Mon, 18 Apr 2005 22:07:24 +0000 (18 15:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Apr 2005 22:07:24 +0000 (18 15:07 -0700)
tree59c1a227ca811eb95a38b69288bfc54fb87fd078
parent00829b5def72f36269796727c9589316a214dc85
[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>
show-diff.c