Massive memory leak: Fixed a typo that may have caused a massive memory leak when reading.