equal
deleted
inserted
replaced
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) |