equal
deleted
inserted
replaced
75 |
75 |
76 gint TMSStreamBodyImpl::Create(TMSCallType callType, TMSStreamType stype, |
76 gint TMSStreamBodyImpl::Create(TMSCallType callType, TMSStreamType stype, |
77 TMSCallProxy* proxy, TMSStream& parent, TMSStreamBody*& bodyimpl) |
77 TMSCallProxy* proxy, TMSStream& parent, TMSStreamBody*& bodyimpl) |
78 { |
78 { |
79 gint ret(TMS_RESULT_INSUFFICIENT_MEMORY); |
79 gint ret(TMS_RESULT_INSUFFICIENT_MEMORY); |
80 TMSStreamBodyImpl* self = new TMSStreamBodyImpl; |
80 TMSStreamBodyImpl* self = new TMSStreamBodyImpl(); |
81 if (self) |
81 if (self) |
82 { |
82 { |
83 ret = self->PostConstruct(callType, stype, proxy, parent); |
83 ret = self->PostConstruct(callType, stype, proxy, parent); |
84 if (ret != TMS_RESULT_SUCCESS) |
84 if (ret != TMS_RESULT_SUCCESS) |
85 { |
85 { |