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