equal
deleted
inserted
replaced
31 } |
31 } |
32 |
32 |
33 gint TMSMicSourceBodyImpl::Create(TMSMicSourceBody*& bodyimpl) |
33 gint TMSMicSourceBodyImpl::Create(TMSMicSourceBody*& bodyimpl) |
34 { |
34 { |
35 gint ret(TMS_RESULT_INSUFFICIENT_MEMORY); |
35 gint ret(TMS_RESULT_INSUFFICIENT_MEMORY); |
36 TMSMicSourceBodyImpl* self = new TMSMicSourceBodyImpl; |
36 TMSMicSourceBodyImpl* self = new TMSMicSourceBodyImpl(); |
37 if (self) |
37 if (self) |
38 { |
38 { |
39 ret = self->PostConstruct(); |
39 ret = self->PostConstruct(); |
40 if (ret != TMS_RESULT_SUCCESS) |
40 if (ret != TMS_RESULT_SUCCESS) |
41 { |
41 { |