BUG: Fix memory leaks in AtlasBuilderUsingIntensity

Change-Id: Ib81414d516bfd297f17a3be86e78ab72ceb888d5
Merge topic 'FixMetaIOMemoryLeaks'

9e741da BUG: Fix memory leaks in AtlasBuilderUsingIntensity