compiler output indexer memory leak fix