Fix a few erroneous double frees in quic-hq-interop
Uncovered during testing for openssl/project#1130 Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Saša Nedvědický <sashan@openssl.org> (Merged from https://github.com/openssl/openssl/pull/27004)
This commit is contained in:
parent
8f74d8cee3
commit
0cfbeba8ed
1 changed files with 3 additions and 0 deletions
|
@ -825,6 +825,9 @@ end:
|
||||||
SSL_CTX_free(*ctx);
|
SSL_CTX_free(*ctx);
|
||||||
SSL_free(*ssl);
|
SSL_free(*ssl);
|
||||||
BIO_ADDR_free(peer_addr);
|
BIO_ADDR_free(peer_addr);
|
||||||
|
*ctx = NULL;
|
||||||
|
*ssl = NULL;
|
||||||
|
peer_addr = NULL;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue