bitcoin/bitcoin — pull request #1347 by rebroad (2012-05-17 22:03:33+00:00)
Title: Should only be mapped when the getdata is done.

Without this change, mappings will be created even after AlreadyHave equals true, and will never be erased.

A small fix, probably would never have caused a problem, other than filling unbounded and potentially using up more memory than needed. Could have been quite significant.