equal
deleted
inserted
replaced
38 } |
38 } |
39 |
39 |
40 gint TMSGainEffectBodyImpl::Create(TMSGainEffectBody*& bodyimpl) |
40 gint TMSGainEffectBodyImpl::Create(TMSGainEffectBody*& bodyimpl) |
41 { |
41 { |
42 gint ret(TMS_RESULT_INSUFFICIENT_MEMORY); |
42 gint ret(TMS_RESULT_INSUFFICIENT_MEMORY); |
43 TMSGainEffectBodyImpl* self = new TMSGainEffectBodyImpl; |
43 TMSGainEffectBodyImpl* self = new TMSGainEffectBodyImpl(); |
44 if (self) |
44 if (self) |
45 { |
45 { |
46 ret = self->PostConstruct(); |
46 ret = self->PostConstruct(); |
47 if (ret != TMS_RESULT_SUCCESS) |
47 if (ret != TMS_RESULT_SUCCESS) |
48 { |
48 { |