nsresult rv = GetStatus(); if (NS_FAILED(rv)) return rv;
nsresult rv;
nsAsyncStreamObserver::OnStopBinding(nsISupports* context,                                          nsresult aStatus,                                          const PRUnichar* aMsg){    nsresult rv = GetStatus();    if (NS_FAILED(rv)) return rv;    nsOnStopBindingEvent* event =         new nsOnStopBindingEvent(this, context);    if (event == nsnull)        return NS_ERROR_OUT_OF_MEMORY;    rv = event->Init(aStatus, aMsg);    if (NS_FAILED(rv)) goto failed;    rv = event->Fire(mEventQueue);    if (NS_FAILED(rv)) goto failed;    return rv;  failed:    delete event;    return rv;}