refs.c::read_ref_at(): fix bogus munmap() call.
commitcb48cb585f3bed37467565ed35889726568a442d
authorJunio C Hamano <junkio@cox.net>
Fri, 19 Jan 2007 08:39:32 +0000 (19 00:39 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 19 Jan 2007 08:41:37 +0000 (19 00:41 -0800)
treec0f54f5c6241566c92a7349403f8b5d4896795bf
parent2266bf27b354a08522406eff916898b6300ddfa0
refs.c::read_ref_at(): fix bogus munmap() call.

The code uses mmap() to read reflog data, but moves the pointer around
while reading, and uses that updated pointer in the call to munmap().

Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c