diff -r b74061f7f3d2 -r cd271b19d824 devsoundextensions/ciextnfactoryplugins/ciextnserverplugin/src/ciextnserverplugin.cpp --- a/devsoundextensions/ciextnfactoryplugins/ciextnserverplugin/src/ciextnserverplugin.cpp Wed Apr 14 17:32:53 2010 +0300 +++ b/devsoundextensions/ciextnfactoryplugins/ciextnserverplugin/src/ciextnserverplugin.cpp Tue Apr 27 18:12:22 2010 +0300 @@ -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);