зеркало из https://github.com/mozilla/gecko-dev.git
fix bug 16357, memory leak, r=neeti
This commit is contained in:
Родитель
d5a0655740
Коммит
ee25a02c9c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче