diff -r ebf79c79991a -r 5e8b14bae8c3 mmserv/tms/tmsimpl/src/tmsringtonebodyimpl.cpp --- a/mmserv/tms/tmsimpl/src/tmsringtonebodyimpl.cpp Fri Jun 25 17:36:03 2010 -0500 +++ b/mmserv/tms/tmsimpl/src/tmsringtonebodyimpl.cpp Fri Jul 09 16:43:35 2010 -0500 @@ -81,18 +81,18 @@ gint ret(TMS_RESULT_SUCCESS); iClientId = 1; iProxy = new TMSProxy(); - if (!iProxy) { ret = TMS_RESULT_INSUFFICIENT_MEMORY; } - RET_REASON_IF_ERR(ret); - - if (iProxy->Connect() != TMS_RESULT_SUCCESS) + else { - delete iProxy; - iProxy = NULL; - ret = TMS_RESULT_FATAL_ERROR; + if (iProxy->Connect() != TMS_RESULT_SUCCESS) + { + delete iProxy; + iProxy = NULL; + ret = TMS_RESULT_FATAL_ERROR; + } } RET_REASON_IF_ERR(ret); return ret; @@ -223,7 +223,6 @@ return ret; } - void TMSRingToneBodyImpl::SetParent(TMSRingTone*& parent) { iParent = parent;