diff -r 2872ae438bf7 -r e538444823de metadataengine/client/src/mdeobject.cpp --- a/metadataengine/client/src/mdeobject.cpp Wed Sep 15 12:40:59 2010 +0300 +++ b/metadataengine/client/src/mdeobject.cpp Wed Oct 13 15:02:02 2010 +0300 @@ -582,7 +582,6 @@ CMdEProperty* oldProperty = iPropertyArray[f]; iPropertyArray[f] = &aProperty; delete oldProperty; - oldProperty = NULL; } else if (err < KErrNone) { @@ -744,7 +743,6 @@ CMdEProperty* oldProperty = iPropertyArray[f]; iPropertyArray[f] = aObject.iPropertyArray[i]; delete oldProperty; - oldProperty = NULL; } else if (err < KErrNone) { @@ -819,7 +817,6 @@ if ( prop->Removed() ) { delete prop; - prop = NULL; iPropertyArray.Remove( i ); continue; } @@ -1058,7 +1055,6 @@ CMdEProperty* oldProperty = newObject->iPropertyArray[f]; newObject->iPropertyArray[f] = property; delete oldProperty; - oldProperty = NULL; } else if (err < KErrNone) {