mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
fix a memory leak
This commit is contained in:
parent
6947387522
commit
535525e283
1 changed files with 2 additions and 0 deletions
|
@ -532,6 +532,8 @@ RecordVal *file_analysis::OCSP::ParseResponse(OCSP_RESPVal *resp_val)
|
|||
ocsp_resp_record->Assign(7, new StringVal(len, buf));
|
||||
}
|
||||
clean_up:
|
||||
if (basic_resp)
|
||||
OCSP_BASICRESP_free(basic_resp);
|
||||
return ocsp_resp_record;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue