From be87f5a820f5e089c3a36d768a13045673879b73 Mon Sep 17 00:00:00 2001 From: "minkee.lee" Date: Wed, 21 May 2014 11:33:01 +0900 Subject: [PATCH] Bug fix: Termination by memory leak. - Problem was because frame resource of gif image is not disposed when add-new button animation is in active state. Change-Id: I99a150f52c981fee8fd8c3948cf912e2cf7948f1 Signed-off-by: minkee.lee --- .../src/org/tizen/emulator/manager/ui/widgets/VMCreateButton.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common-project/src/org/tizen/emulator/manager/ui/widgets/VMCreateButton.java b/common-project/src/org/tizen/emulator/manager/ui/widgets/VMCreateButton.java index 8054d5f..c5a0962 100644 --- a/common-project/src/org/tizen/emulator/manager/ui/widgets/VMCreateButton.java +++ b/common-project/src/org/tizen/emulator/manager/ui/widgets/VMCreateButton.java @@ -92,6 +92,7 @@ public class VMCreateButton extends VMButton { if (aniImageData != null) { Image newImage = new Image(Display.getCurrent(), aniImageData); gc.drawImage(newImage, aniImageData.x + W_OFFSET, aniImageData.y + H_OFFSET); + newImage.dispose(); } } } else { -- 2.7.4