mmserv/tms/tmsimpl/src/tmsstreamimpl.cpp
changeset 22 128eb6a32b84
parent 14 80975da52420
child 33 5e8b14bae8c3
equal deleted inserted replaced
16:43d09473c595 22:128eb6a32b84
    50 
    50 
    51 gint TMSStreamImpl::Create(TMSCallType callType, TMSStreamType stype,
    51 gint TMSStreamImpl::Create(TMSCallType callType, TMSStreamType stype,
    52         TMSCallProxy* proxy, TMSStream*& strm)
    52         TMSCallProxy* proxy, TMSStream*& strm)
    53     {
    53     {
    54     gint ret(TMS_RESULT_INSUFFICIENT_MEMORY);
    54     gint ret(TMS_RESULT_INSUFFICIENT_MEMORY);
    55     TMSStreamImpl *self = new TMSStreamImpl;
    55     TMSStreamImpl *self = new TMSStreamImpl();
    56 
    56 
    57     if (self)
    57     if (self)
    58         {
    58         {
    59         ret = self->PostConstruct(callType, stype, proxy);
    59         ret = self->PostConstruct(callType, stype, proxy);
    60         if (ret != TMS_RESULT_SUCCESS)
    60         if (ret != TMS_RESULT_SUCCESS)