if (__pContentDirectoryNameList != null)
{
+ __pContentDirectoryNameList->RemoveAll(true);
delete __pContentDirectoryNameList;
+ __pContentDirectoryNameList = null;
}
delete __pFileMove;
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
if (__pContentDirectoryNameList != null)
{
+ __pContentDirectoryNameList->RemoveAll(true);
delete __pContentDirectoryNameList;
__pContentDirectoryNameList = null;
}
{
__pContentDirectoryList->RemoveAll(true);
delete __pContentDirectoryList;
+ __pContentDirectoryList = null;
}
__pContentDirectoryList = contentDirectory.GetContentDirectoryPathListN(SORT_ORDER_NONE);
+
+ if ( __pContentDirectoryNameList != NULL)
+ {
+ __pContentDirectoryNameList->RemoveAll(true);
+ delete __pContentDirectoryNameList;
+ __pContentDirectoryNameList = null;
+ }
+
__pContentDirectoryNameList = new (std::nothrow) ArrayList(SingleObjectDeleter);
String* pDirPath = null;
String* pDirName = null;
pNewThumbnailInfo = new (std::nothrow) ThumbnailInfo();
pNewThumbnailInfo->Construct(contentId, pContentInfo->GetContentPath(), *pBitmap, contentType, duration);
delete pBitmap;
+ delete pContentInfo;
}
}
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));