(file) Return to CMPISCMOUtilities.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / CMPI

Diff for /pegasus/src/Pegasus/ProviderManager2/CMPI/CMPISCMOUtilities.cpp between version 1.1.2.11 and 1.1.2.12

version 1.1.2.11, 2009/10/30 15:51:52 version 1.1.2.12, 2009/11/04 09:04:34
Line 78 
Line 78 
             {             {
                 rc = targetPath->setKeyBinding(                 rc = targetPath->setKeyBinding(
                     keyName, keyType, keyValue);                     keyName, keyType, keyValue);
                   if (keyType == CIMTYPE_STRING)
                   {
                       free((void*)keyValue);
                   }
                 if (rc != SCMO_OK)                 if (rc != SCMO_OK)
                 {                 {
                     PEG_TRACE_CSTRING(                     PEG_TRACE_CSTRING(
Line 164 
Line 168 
     const char* ns,     const char* ns,
     const char* cls)     const char* cls)
 { {
     Boolean isDirty=false;  
     CString nameSpace = cimPath.getNameSpace().getString().getCString();     CString nameSpace = cimPath.getNameSpace().getString().getCString();
     CString className = cimPath.getClassName().getString().getCString();     CString className = cimPath.getClassName().getString().getCString();
       SCMOInstance* scmoRef;
  
     if (!ns)     if (!ns)
     {     {
Line 182 
Line 186 
  
     if (0 == scmoClass)     if (0 == scmoClass)
     {     {
         isDirty=true;          SCMOClass localDirtySCMOClass(cls,ns);
         scmoClass = new SCMOClass(cls,ns);          scmoRef = new SCMOInstance(localDirtySCMOClass, cimPath);
           scmoRef->markAsCompromised();
     }     }
       else
     SCMOInstance* scmoRef = new SCMOInstance(*scmoClass, cimPath);  
     if (isDirty)  
     {     {
         scmoRef->markAsCompromised();          scmoRef = new SCMOInstance(*scmoClass, cimPath);
     }     }
  
   
     return scmoRef;     return scmoRef;
 } }
  


Legend:
Removed from v.1.1.2.11  
changed lines
  Added in v.1.1.2.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2