equal
deleted
inserted
replaced
35 } |
35 } |
36 |
36 |
37 gint TMSClientSinkBodyImpl::Create(TMSClientSinkBody*& bodyimpl) |
37 gint TMSClientSinkBodyImpl::Create(TMSClientSinkBody*& bodyimpl) |
38 { |
38 { |
39 gint ret(TMS_RESULT_INSUFFICIENT_MEMORY); |
39 gint ret(TMS_RESULT_INSUFFICIENT_MEMORY); |
40 TMSClientSinkBodyImpl* self = new TMSClientSinkBodyImpl; |
40 TMSClientSinkBodyImpl* self = new TMSClientSinkBodyImpl(); |
41 if (self) |
41 if (self) |
42 { |
42 { |
43 ret = self->PostConstruct(); |
43 ret = self->PostConstruct(); |
44 if (ret != TMS_RESULT_SUCCESS) |
44 if (ret != TMS_RESULT_SUCCESS) |
45 { |
45 { |