diff -r 3592750162a5 -r 2dc695882abd usbengines/usbotgwatcher/src/cusbnotifmanager.cpp --- a/usbengines/usbotgwatcher/src/cusbnotifmanager.cpp Wed Oct 13 13:08:34 2010 +0300 +++ b/usbengines/usbotgwatcher/src/cusbnotifmanager.cpp Mon Oct 25 13:20:29 2010 +0300 @@ -190,6 +190,7 @@ { LOG1("Unexpected aCat = 0x%X", aCat ); PANIC(EWrongNotifierCategory); + return; } CleanupStack::PushL(notifier); @@ -197,7 +198,7 @@ iWaitNotifiers.AppendL(CWaitNotifierInfo::NewL(notifier, *aObserver)); notifier->ShowL(); - + CleanupStack::Pop(notifier); }