[Bug 334240] double free in nsslowkey_ConvertToPublicKey if SECITEM_CopyItem or SECITEM_CopyItem fail. r=nelson

This commit is contained in:
alexei.volkov.bugs%sun.com 2006-04-22 00:59:13 +00:00
Родитель 56865501c8
Коммит eff087e1e9
1 изменённых файлов: 0 добавлений и 1 удалений

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

@ -295,7 +295,6 @@ nsslowkey_ConvertToPublicKey(NSSLOWKEYPrivateKey *privk)
if (rv == SECSuccess)
return pubk;
}
nsslowkey_DestroyPublicKey (pubk);
} else {
PORT_SetError (SEC_ERROR_NO_MEMORY);
}