From 53587597f750f99ef029605b2f2f64724e950c39 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Fri, 20 Nov 1998 04:28:06 +0000 Subject: [PATCH] Fixed ref counting problem in stub_GraphProgressDestroy() --- network/module/nsStubContext.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/network/module/nsStubContext.cpp b/network/module/nsStubContext.cpp index d22ca26c260b..da3d115fe7b1 100644 --- a/network/module/nsStubContext.cpp +++ b/network/module/nsStubContext.cpp @@ -323,6 +323,9 @@ PRIVATE void stub_GraphProgressDestroy(MWContext *context, nsConnectionInfo *pConn = (nsConnectionInfo *) URL_s->fe_data; pListener->OnProgress(pConn->pURL, total_bytes_read, content_length); + // XXX The comment above no longer applies, and this function does + // get called... + NS_RELEASE(pListener); } }