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; }