fix memory leak
authorHyeJin Lee <hyejin79.lee@samsung.com>
Fri, 10 May 2013 09:39:29 +0000 (18:39 +0900)
committerHyeJin Lee <hyejin79.lee@samsung.com>
Fri, 10 May 2013 09:39:29 +0000 (18:39 +0900)
Change-Id: I51ff16eb96e3de830394ca7f762c66f9ea0e73ba

src/ui/animations/FUiAnim_AnimationManager.cpp

index 99136b3..cfd1748 100644 (file)
@@ -137,6 +137,12 @@ _AnimationManager::_AnimationManager(void)
 
 _AnimationManager::~_AnimationManager(void)
 {
+       if (__pCurrentTransaction)
+       {
+               delete __pCurrentTransaction;
+               __pCurrentTransaction = null;
+       }
+
        __committedList.RemoveAllNodes();
 }