Change-Id: Ic9422f9f904e0247081c30f6cfcce2dda483d5cf
Signed-off-by: cc1.yim <cc1.yim@samsung.com>
{
if(threadInterface) {
LogDebug("Already Initialized");
- return false;
+ return true;
}
threadInterface = new DPL::DB::ThreadDatabaseSupport(
LogDebug("Initializing VCore");
Config &globalConfig = ConfigSingleton::Instance();
- bool returnValue = globalConfig.setXMLConfigPath(configFilePath) &&
+ globalConfig.setXMLConfigPath(configFilePath) &&
globalConfig.setXMLSchemaPath(configSchemaPath);
- return returnValue;
+ return true;
}
void VCoreDeinit()
n = m_pList->size();
- char* pList[n+1];
+ char* pList[n];
std::list<std::string>::const_iterator itr = m_pList->begin();
std::string tmpString;
char* uri = NULL;
}
done:
+ m_pList = NULL;
+ m_noHash = false;
+ m_partialHash = false;
+
/* cleanup */
if (dsigCtx != NULL) {
xmlSecDSigCtxDestroy(dsigCtx);