//
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
String path = pContentInfo->GetContentPath();
if (path.EndsWith(L"tif") != true
&& path.EndsWith(L"tiff") != true
- && path.EndsWith(L"wbmp") != true)
+ && path.EndsWith(L"wbmp") != true
+ && path.EndsWith(L"TIF") != true
+ && path.EndsWith(L"TIFF") != true
+ && path.EndsWith(L"WBMP") != true)
{
pBitmap = pContentInfo->GetThumbnailN();
}
pNewThumbnailInfo = new (std::nothrow) ThumbnailInfo();
pNewThumbnailInfo->Construct(contentId, pContentInfo->GetContentPath(), *pBitmap, contentType, duration);
delete pBitmap;
+ delete pContentInfo;
}
}
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));