branch | RCL_3 |
changeset 14 | 646a02f170b9 |
parent 1 | acef663c1218 |
child 40 | 910a23996aa0 |
--- a/harvester/composerplugins/imagecomposer/src/locationrelationobserver.cpp Fri Feb 19 23:14:48 2010 +0200 +++ b/harvester/composerplugins/imagecomposer/src/locationrelationobserver.cpp Fri Mar 12 15:44:28 2010 +0200 @@ -42,6 +42,12 @@ { TRAP_IGNORE( iSession->RemoveRelationObserverL( *this ) ); } + + if( iQuery ) + { + iQuery->Cancel(); + delete iQuery; + } } CLocationRelationObserver* CLocationRelationObserver::NewL( CMdESession* aSession, CComposerImagePlugin* aComposer )