Fixed resource leaks in parseDsonV2Object/Array.