Change-Id: I8f4dedb147aba8886265728235e7d60725bba325
pOpacityAnimation->SetDuration(ANIMATION_DURATION);
pAnimationGroup->AddAnimation(*pOpacityAnimation);
delete pOpacityAnimation;
pOpacityAnimation->SetDuration(ANIMATION_DURATION);
pAnimationGroup->AddAnimation(*pOpacityAnimation);
delete pOpacityAnimation;
+ pOpacityAnimation = null;
pBoundsAnimation = new (std::nothrow) VisualElementPropertyAnimation();
SysTryCatch(NID_UI_CTRL, (pBoundsAnimation != null), , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
pBoundsAnimation = new (std::nothrow) VisualElementPropertyAnimation();
SysTryCatch(NID_UI_CTRL, (pBoundsAnimation != null), , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
pBoundsAnimation->SetVisualElementAnimationStatusEventListener(this);
pAnimationGroup->AddAnimation(*pBoundsAnimation);
delete pBoundsAnimation;
pBoundsAnimation->SetVisualElementAnimationStatusEventListener(this);
pAnimationGroup->AddAnimation(*pBoundsAnimation);
delete pBoundsAnimation;
+ pBoundsAnimation = null;