branch | RCL_3 |
changeset 49 | f23c07ec56e2 |
parent 47 | b73252188534 |
child 50 | 85f623e1ef41 |
47:b73252188534 | 49:f23c07ec56e2 |
---|---|
168 aItem = NULL; |
168 aItem = NULL; |
169 return; |
169 return; |
170 } |
170 } |
171 } |
171 } |
172 |
172 |
173 CMdEObject* mdeObject = &aItem->MdeObject(); |
173 aItem->SetMdeObject( NULL ); |
174 if( mdeObject ) |
|
175 { |
|
176 delete mdeObject; |
|
177 mdeObject = NULL; |
|
178 aItem->SetMdeObject( NULL ); |
|
179 } |
|
180 |
174 |
181 if(iItems.Append( aItem ) != KErrNone ) |
175 if(iItems.Append( aItem ) != KErrNone ) |
182 { |
176 { |
183 delete aItem; |
177 delete aItem; |
184 aItem = NULL; |
178 aItem = NULL; |