From 232404cd7368581271126f4876e6bff65fe8e2fb Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Mon, 10 Aug 1998 22:21:18 +0000 Subject: [PATCH] Added a NS_RELEASE of the URL reader in OnStartBinding() --- gfx/src/nsImageNetContextAsync.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/src/nsImageNetContextAsync.cpp b/gfx/src/nsImageNetContextAsync.cpp index bd61cbdbe99..b81587d5c1a 100644 --- a/gfx/src/nsImageNetContextAsync.cpp +++ b/gfx/src/nsImageNetContextAsync.cpp @@ -159,6 +159,7 @@ ImageConsumer::OnStartBinding(nsIURL* aURL, const char *aContentType) NS_RELEASE(reader); return NS_ERROR_ABORT; } + NS_RELEASE(reader); return NS_OK; }