зеркало из https://github.com/mozilla/pjs.git
129218 - memory leaks in tstclnt. r=neil
This commit is contained in:
Родитель
1b33dcb489
Коммит
ade9cc968d
|
@ -1476,8 +1476,16 @@ main(int argc, char **argv)
|
||||||
if (Cert_And_Key.key) {
|
if (Cert_And_Key.key) {
|
||||||
SECKEY_DestroyPrivateKey(Cert_And_Key.key);
|
SECKEY_DestroyPrivateKey(Cert_And_Key.key);
|
||||||
}
|
}
|
||||||
|
|
||||||
PR_DestroyLock(Cert_And_Key.lock);
|
PR_DestroyLock(Cert_And_Key.lock);
|
||||||
|
|
||||||
|
if (Cert_And_Key.password) {
|
||||||
|
PL_strfree(Cert_And_Key.password);
|
||||||
|
}
|
||||||
|
if (Cert_And_Key.nickname) {
|
||||||
|
PL_strfree(Cert_And_Key.nickname);
|
||||||
|
}
|
||||||
|
|
||||||
/* some final stats. */
|
/* some final stats. */
|
||||||
if (ssl3stats->hsh_sid_cache_hits + ssl3stats->hsh_sid_cache_misses +
|
if (ssl3stats->hsh_sid_cache_hits + ssl3stats->hsh_sid_cache_misses +
|
||||||
ssl3stats->hsh_sid_cache_not_ok == 0) {
|
ssl3stats->hsh_sid_cache_not_ok == 0) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче