[Issue#] Using pointer to temporary object.
[Bug] N/A
[Cause] N/A
[Solution] Using the object instead of pointer.
[Verification] Build installer. Run installer tests.
Change-Id: I3c8b3b95355b9aee561a55e7b01851c77c914c1e
LogInfo("FetureName = [" << featureName << "]");
AppType featureType = APP_TYPE_UNKNOWN;
- const char* feature = DPL::ToUTF8String(featureName).c_str();
+ std::string featureStr = DPL::ToUTF8String(featureName);
+ const char* feature = featureStr.c_str();
+
// check prefix of feature name
if (strstr(feature, PluginsPrefix::TIZENPluginsPrefix) == feature) {
// Tizen WebApp feature