nsresult rv = l->Init(receiver, eventQueue); if (NS_FAILED(rv)) { NS_RELEASE(l); return rv; }
NS_NewAsyncStreamObserver(nsIStreamObserver* *result,                          nsIEventQueue* eventQueue,                          nsIStreamObserver* receiver){    nsAsyncStreamObserver* l =        new nsAsyncStreamObserver(eventQueue);    if (l == nsnull)        return NS_ERROR_OUT_OF_MEMORY;    l->Init(receiver);    NS_ADDREF(l);    *result = l;    return NS_OK;}