diff -r 737d02b8760c -r 6b5547c1e247 webservices/wsframework/src/saslmechanism.cpp --- a/webservices/wsframework/src/saslmechanism.cpp Fri Jun 18 15:01:02 2010 +0100 +++ b/webservices/wsframework/src/saslmechanism.cpp Thu Jul 22 16:44:27 2010 +0100 @@ -124,6 +124,11 @@ EXPORT_C void CSaslMechanism::SetTransforms( RPointerArray aList) { + //deallocate the original objects and the array itself which were owned + if(iTransforms.Count()) + { + iTransforms.ResetAndDestroy(); + } iTransforms = aList; }