diff -r fcaf4606ba4e -r 9d4397b300d1 devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp --- a/devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp Thu Oct 07 23:44:30 2010 +0100 +++ b/devsoundextensions/audiorouting/Output/AudioOutputProxy/src/AudioOutputProxy.cpp Mon Oct 18 12:47:26 2010 +0100 @@ -52,7 +52,9 @@ CCustomInterfaceUtility* aCustomInterfaceUtility) { CAudioOutputProxy* self = new(ELeave) CAudioOutputProxy(aMessageHandler,aCustomCommand,aCustomInterfaceUtility); + CleanupStack::PushL(self); self->ConstructL(); + CleanupStack::Pop(self); return self; }