--- pegasus/src/Pegasus/Provider/CMPI/CmpiImpl.cpp.obz5119 2006-01-30 11:18:00.000000000 -0500 +++ pegasus/src/Pegasus/Provider/CMPI/CmpiImpl.cpp 2006-06-07 15:13:01.000000000 -0400 @@ -1197,7 +1197,7 @@ else throw CmpiStatus(rc.rc,name->charPtr()); } - if (name) *name=*(new CmpiString(s)); + if (name) *name= CmpiString(s); return d; }; @@ -1386,7 +1386,7 @@ CMPIString *s; d._data=getEnc()->ft->getKeyAt(getEnc(),(int)pos,&s,&rc); if (rc.rc!=CMPI_RC_OK) throw CmpiStatus(rc); - if (name) *name=*(new CmpiString(s)); + if (name) *name= CmpiString(s); return d; } @@ -1710,7 +1710,7 @@ else throw CmpiStatus(rc.rc,name->charPtr()); } - if (name) *name=*(new CmpiString(s)); + if (name) *name= CmpiString(s); return d; }