if(!mInst || !mInst->IsStarted()) return NS_ERROR_FAILURE;
const NPPluginFuncs *callbacks; NPP                 npp; NPError error;
ns4xPluginStreamListener::OnStopBinding(nsIPluginStreamInfo* pluginInfo,                                         nsresult status){  if(!mInst || !mInst->IsStarted())    return NS_ERROR_FAILURE;  if(pluginInfo) {    pluginInfo->GetURL(&mNPStream.url);    pluginInfo->GetLastModified((PRUint32*)&(mNPStream.lastmodified));  }  // check if the stream is of seekable type and later its destruction  // see bug 91140      nsresult rv = NS_OK;  if(mStreamType != nsPluginStreamType_Seek)    rv = CleanUpStream(NPRES_DONE);    if(rv != NPERR_NO_ERROR)    return NS_ERROR_FAILURE;  return NS_OK;}