mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
SCT: another memory leak in SCT parsing.
This commit is contained in:
parent
e1d42ec99c
commit
7a1ec3501d
2 changed files with 3 additions and 2 deletions
|
@ -703,8 +703,8 @@ sct_verify_err:
|
|||
if (mdctx)
|
||||
EVP_MD_CTX_destroy(mdctx);
|
||||
if (key)
|
||||
EVP_PKEY_free(key);
|
||||
cerr << errstr << endl;
|
||||
EVP_PKEY_free(key);
|
||||
|
||||
reporter->Error("%s", errstr.c_str());
|
||||
return new Val(0, TYPE_BOOL);
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue