Fix crash in t0020 (crlf conversion)
authorAlex Riesen <raa.lkml@gmail.com>
Sun, 22 Apr 2007 14:11:54 +0000 (16:11 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 22 Apr 2007 17:44:56 +0000 (10:44 -0700)
commit4629795816bf3f58a02872ec389a92de7efd38c4
tree0226fd64e9e6057bf3acef8b621bb6e36ac5f6bd
parent67e22ed58f776372de5ed0a5e6fb329bc24b52b2
Fix crash in t0020 (crlf conversion)

Reallocated wrong size.
Noticed on Ubuntu 7.04 probably because it has some malloc diagnostics in libc:
"git-read-tree --reset -u HEAD" aborted in the test. Valgrind sped up the
debugging greatly: took me 10 minutes.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
attr.c