changeset 20 | 6dfc5f825351 |
parent 1 | acef663c1218 |
child 40 | 910a23996aa0 |
--- a/harvester/composerplugins/imagecomposer/src/locationrelationobserver.cpp Tue Feb 02 00:24:33 2010 +0200 +++ b/harvester/composerplugins/imagecomposer/src/locationrelationobserver.cpp Fri Mar 19 09:38:01 2010 +0200 @@ -42,6 +42,12 @@ { TRAP_IGNORE( iSession->RemoveRelationObserverL( *this ) ); } + + if( iQuery ) + { + iQuery->Cancel(); + delete iQuery; + } } CLocationRelationObserver* CLocationRelationObserver::NewL( CMdESession* aSession, CComposerImagePlugin* aComposer )