Hello, these code will cause allcated failed exception when be called n times. During these times, there don't have any other memory operation. So is that the clean is no working or other reason why it will failed after some clean and allcation?
Many thanks!
Code:if(iDataRotated) { delete []iDataRotated; iDataRotated = NULL; } iDataRotated = new( ELeave ) TUint16[ iDataRotatedSize ]; Fill( iMaskColor, iNewSize, iDataRotated );

Reply With Quote

