Added a NS_RELEASE of the URL reader in OnStartBinding()

This commit is contained in:
troy%netscape.com 1998-08-10 22:21:18 +00:00
parent c35e955938
commit fc10b78dd4

View File

@ -159,6 +159,7 @@ ImageConsumer::OnStartBinding(nsIURL* aURL, const char *aContentType)
NS_RELEASE(reader);
return NS_ERROR_ABORT;
}
NS_RELEASE(reader);
return NS_OK;
}