builtin/blame.c::prepare_lines: fix allocation size of sb->lineno
commit62cf3ca95a7b34dcbf22d9ba4b2ea56f9fb739c9
authorDavid Kastrup <dak@gnu.org>
Sat, 8 Feb 2014 09:19:26 +0000 (8 10:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 22:32:41 +0000 (24 14:32 -0800)
tree7452b1a7015b5e852b762590fd179568d484aefb
parent0a88f08e284df1a882771f9e74133e2861b79e2d
builtin/blame.c::prepare_lines: fix allocation size of sb->lineno

If we are calling xrealloc on every single line, the least we can do
is get the right allocation size.

Signed-off-by: David Kastrup <dak@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c