diff -r 2c32f186fa1f -r 8e0eb519ef53 e32tools/elf2e32/source/e32imagefile.cpp --- a/e32tools/elf2e32/source/e32imagefile.cpp Tue Nov 16 15:54:07 2010 +0800 +++ b/e32tools/elf2e32/source/e32imagefile.cpp Tue Nov 16 15:56:27 2010 +0800 @@ -495,7 +495,7 @@ aRelocsSize = Align(rsize + sizeof(E32RelocSection), sizeof(uint32)); uint32 aBase = (*aRelocList.begin())->iSegment->p_vaddr; - //add for cleanup to be done later.. + cleanupStack.push_back(aRelocs); aRelocs = new char [aRelocsSize]; memset(aRelocs, 0, aRelocsSize);