receive-pack: plug memory leak in fast-forward checking code.