From ee25a02c9cf8d4c180da44e48d423dc191b4565a Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Thu, 14 Oct 1999 23:37:35 +0000 Subject: [PATCH] fix bug 16357, memory leak, r=neeti --- extensions/wallet/src/nsWalletService.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/wallet/src/nsWalletService.cpp b/extensions/wallet/src/nsWalletService.cpp index 9832002fd77e..35a4cb962767 100644 --- a/extensions/wallet/src/nsWalletService.cpp +++ b/extensions/wallet/src/nsWalletService.cpp @@ -294,6 +294,7 @@ nsWalletlibService::OnEndDocumentLoad(nsIDocumentLoader* aLoader, nsIURI *aUrl, NS_RELEASE(cv); NS_RELEASE(ws); NS_RELEASE(cont); + PR_Free(URLName); return rv; } @@ -305,6 +306,7 @@ nsWalletlibService::OnEndDocumentLoad(nsIDocumentLoader* aLoader, nsIURI *aUrl, NS_RELEASE(cv); NS_RELEASE(ws); NS_RELEASE(cont); + PR_Free(URLName); return rv; } @@ -372,6 +374,7 @@ nsWalletlibService::OnEndDocumentLoad(nsIDocumentLoader* aLoader, nsIURI *aUrl, NS_RELEASE(cv); NS_RELEASE(ws); NS_RELEASE(cont); + PR_Free(URLName); return rv; }