diff -r 5e441a173c63 -r 31ea0f8e3c99 userlibandfileserver/fileserver/sfile/sf_plugin_ops.cpp --- a/userlibandfileserver/fileserver/sfile/sf_plugin_ops.cpp Mon May 24 18:45:46 2010 +0100 +++ b/userlibandfileserver/fileserver/sfile/sf_plugin_ops.cpp Thu Jun 10 11:48:01 2010 +0100 @@ -252,8 +252,11 @@ CFsPlugin* plugin=NULL; FsPluginManager::LockChain(); TInt err = FsPluginManager::Plugin(plugin, aRequest->Message().Int2()); - if(err != KErrNone) + if(err != KErrNone) //should be ok but just in case + { + FsPluginManager::UnlockChain(); return err; + } TInt r = KErrNotFound; if(plugin)