| Index: content/child/webcrypto/platform_crypto_nss.cc
|
| diff --git a/content/child/webcrypto/platform_crypto_nss.cc b/content/child/webcrypto/platform_crypto_nss.cc
|
| index a9b4c550f97b18a04060d976c39091d9279a04e7..1e7d0697bb24321c0bed190e37f617cbb27dc417 100644
|
| --- a/content/child/webcrypto/platform_crypto_nss.cc
|
| +++ b/content/child/webcrypto/platform_crypto_nss.cc
|
| @@ -1609,6 +1609,9 @@ Status ImportRsaPrivateKey(const blink::WebCryptoAlgorithm& algorithm,
|
|
|
| crypto::ScopedSECKEYPrivateKey private_key(
|
| PK11_FindKeyByKeyID(slot.get(), &object_id, NULL));
|
| +
|
| + SECITEM_FreeItem(&object_id, PR_FALSE);
|
| +
|
| if (!private_key)
|
| return Status::OperationError();
|
|
|
|
|