Don’t leak memory when reading memory and we do an early return for error conditions.