NS_IF_RELEASE(mInst);
if(mInst) { nsInstanceStream * prev = nsnull; for(nsInstanceStream *is = mInst->mStreams; is != nsnull; is = is->mNext) { if(is->mPluginStreamListener == this) { if(prev == nsnull) mInst->mStreams = is->mNext; else prev->mNext = is->mNext;  delete is; break; } prev = is; } } NS_IF_RELEASE(mInst);
ns4xPluginStreamListener::~ns4xPluginStreamListener(void){	NS_IF_RELEASE(mInst);}