fix bug 16357, memory leak, r=neeti

This commit is contained in:
morse%netscape.com 1999-10-14 23:37:35 +00:00
Родитель d5a0655740
Коммит ee25a02c9c
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -294,6 +294,7 @@ nsWalletlibService::OnEndDocumentLoad(nsIDocumentLoader* aLoader, nsIURI *aUrl,
NS_RELEASE(cv); NS_RELEASE(cv);
NS_RELEASE(ws); NS_RELEASE(ws);
NS_RELEASE(cont); NS_RELEASE(cont);
PR_Free(URLName);
return rv; return rv;
} }
@ -305,6 +306,7 @@ nsWalletlibService::OnEndDocumentLoad(nsIDocumentLoader* aLoader, nsIURI *aUrl,
NS_RELEASE(cv); NS_RELEASE(cv);
NS_RELEASE(ws); NS_RELEASE(ws);
NS_RELEASE(cont); NS_RELEASE(cont);
PR_Free(URLName);
return rv; return rv;
} }
@ -372,6 +374,7 @@ nsWalletlibService::OnEndDocumentLoad(nsIDocumentLoader* aLoader, nsIURI *aUrl,
NS_RELEASE(cv); NS_RELEASE(cv);
NS_RELEASE(ws); NS_RELEASE(ws);
NS_RELEASE(cont); NS_RELEASE(cont);
PR_Free(URLName);
return rv; return rv;
} }