Removed memory leak from gif viewer application
authorrahul varna <rahul.varna@samsung.com>
Thu, 9 May 2013 04:09:53 +0000 (09:39 +0530)
committerrahul varna <rahul.varna@samsung.com>
Thu, 9 May 2013 04:09:53 +0000 (09:39 +0530)
Signed-off-by: rahul varna <rahul.varna@samsung.com>
project/src/Image/GifDecoderForm.cpp

index 53f6dbd..916a8e6 100644 (file)
@@ -84,6 +84,8 @@ GifDecoderForm::GifDecoderForm(void)
 
 GifDecoderForm::~GifDecoderForm(void)
 {
+       __frameList.RemoveAll(true);
+
        SAFE_DELETE(__pDstBitmap);
        SAFE_DELETE(__pDstBuffer);
        SAFE_DELETE(__pGifDec);