Fix memory leak (ParticleData and ParticleEmitterData) on using TypeValidator class.
This fixes issue #154