Fix memory-leak in evp_test.
Change-Id: Ibdaeeaa45dbdb31921ae7e99a4eb3708f99ccaa9 Reviewed-on: https://boringssl-review.googlesource.com/3301 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
4e04ee8786
commit
42ca3a4623
@ -518,6 +518,9 @@ out:
|
||||
if (pkey) {
|
||||
EVP_PKEY_free(pkey);
|
||||
}
|
||||
if (algor != NULL) {
|
||||
X509_ALGOR_free(algor);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user