{
pBitmapScreenMode = pAppResource->GetBitmapN(L"T01-2_function_icon_screenmode03.png");
__pScreenModeButton->SetNormalBitmap(point, *pBitmapScreenMode);
+ delete pBitmapScreenMode;
pBitmapScreenMode = pAppResource->GetBitmapN(L"T01-2_function_icon_screenmode03_press.png");
__pScreenModeButton->SetPressedBitmap(point, *pBitmapScreenMode);
+ delete pBitmapScreenMode;
}
else
{
pBitmapScreenMode = pAppResource->GetBitmapN(L"T01-2_Function_icon_screenmode_press.png");
__pScreenModeButton->SetNormalBitmap(point, *pBitmapScreenMode);
+ delete pBitmapScreenMode;
pBitmapScreenMode = pAppResource->GetBitmapN(L"T01-2_Function_icon_screenmode_press.png");
__pScreenModeButton->SetPressedBitmap(point, *pBitmapScreenMode);
+ delete pBitmapScreenMode;
}
}
break;
{
pBitmapScreenMode = pAppResource->GetBitmapN(L"T01-2_function_icon_screenmode02.png");
__pScreenModeButton->SetNormalBitmap(point, *pBitmapScreenMode);
+ delete pBitmapScreenMode;
pBitmapScreenMode = pAppResource->GetBitmapN(L"T01-2_function_icon_screenmode02_press.png");
__pScreenModeButton->SetPressedBitmap(point, *pBitmapScreenMode);
+ delete pBitmapScreenMode;
}
break;
{
pBitmapScreenMode = pAppResource->GetBitmapN(L"T01-2_function_icon_screenmode03.png");
__pScreenModeButton->SetNormalBitmap(point, *pBitmapScreenMode);
+ delete pBitmapScreenMode;
pBitmapScreenMode = pAppResource->GetBitmapN(L"T01-2_function_icon_screenmode03_press.png");
__pScreenModeButton->SetPressedBitmap(point, *pBitmapScreenMode);
+ delete pBitmapScreenMode;
}
break;
default:
break;
}
-
- delete pBitmapScreenMode;
- pBitmapScreenMode = null;
}
void
__audioRouteMode = AUDIO_ROUTE_SPEAKER_ONLY;
}
}
+
+ if (availableAudioRouteList != null)
+ {
+ availableAudioRouteList->RemoveAll(true);
+ delete availableAudioRouteList;
+ availableAudioRouteList = null;
+ }
}
result
__pPlayer->Close();
delete __pPlayer;
}
- delete __pMediaPathArrayList;
+
+ if (__pMediaPathArrayList != null)
+ {
+ __pMediaPathArrayList->RemoveAll(true);
+ delete __pMediaPathArrayList;
+ __pMediaPathArrayList = null;
+ }
+
delete __pCurrentPlayContentPath;
delete __pFileEventMgr;
}
return r;
CATCH:
- delete __pMediaPathArrayList;
- __pMediaPathArrayList = null;
+ if (__pMediaPathArrayList != null)
+ {
+ __pMediaPathArrayList->RemoveAll(true);
+ delete __pMediaPathArrayList;
+ __pMediaPathArrayList = null;
+ }
+
return r;
}