devsoundextensions/effects/SrcOrientation/SourceOrientationMessageHandler/src/SourceOrientationMessageHandler.cpp
changeset 2 5c1df44f2eed
parent 0 b8ed18f6c07b
--- a/devsoundextensions/effects/SrcOrientation/SourceOrientationMessageHandler/src/SourceOrientationMessageHandler.cpp	Thu Oct 07 23:44:30 2010 +0100
+++ b/devsoundextensions/effects/SrcOrientation/SourceOrientationMessageHandler/src/SourceOrientationMessageHandler.cpp	Wed Oct 13 12:45:32 2010 +0100
@@ -48,7 +48,9 @@
     {
     CSourceOrientation* bassboost = (CSourceOrientation*)aCustomInterface;
     CSourceOrientationMessageHandler* self = new (ELeave) CSourceOrientationMessageHandler(bassboost);
+    CleanupStack::PushL(self);
 	self->ConstructL();
+	CleanupStack::Pop(self);
     return self;
     }