branch | RCL_3 |
changeset 22 | 29d87345eaeb |
parent 21 | 85f623e1ef41 |
21:85f623e1ef41 | 22:29d87345eaeb |
---|---|
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; |