mmserv/tms/tmsimpl/src/tmsstreamimpl.cpp
changeset 20 b67dd1fc57c5
parent 14 80975da52420
child 33 5e8b14bae8c3
equal deleted inserted replaced
19:4a629bc82c5e 20:b67dd1fc57c5
    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)