diff -r fcaf4606ba4e -r 9d4397b300d1 devsoundextensions/ciextnfactoryplugins/ciextnserverplugin/src/ciextnserverplugin.cpp --- a/devsoundextensions/ciextnfactoryplugins/ciextnserverplugin/src/ciextnserverplugin.cpp Thu Oct 07 23:44:30 2010 +0100 +++ b/devsoundextensions/ciextnfactoryplugins/ciextnserverplugin/src/ciextnserverplugin.cpp Mon Oct 18 12:47:26 2010 +0100 @@ -59,11 +59,7 @@ { DEB_TRACE0(_L("*CI* CCIExtnServerPlugin::Setup")); TInt status(KErrNone); - TRAPD(err, iCiExtnServerPluginWrapper = CIExtnServerPluginWrapper::NewL(aInterface)); - if (err == KErrNone) - { - iMCustomInterface = iCiExtnServerPluginWrapper->GetInterface(); - } + iMCustomInterface = &aInterface; TRAP_IGNORE(InitializeMsgHndlrPluginsL()); return status; } @@ -111,7 +107,6 @@ iMCIMsgHndlrIntfcList.Reset(); iMCIMsgHndlrIntfcList.Close(); - iCiExtnServerPluginWrapper->Release(); REComSession::DestroyedImplementation(iDestructorKey);