ssl: fix cleanup
This commit is contained in:
parent
a68d867cb3
commit
fda1a03171
1 changed files with 1 additions and 3 deletions
|
@ -908,9 +908,7 @@ main(int argc, char **argv)
|
|||
ERR_remove_state(0);
|
||||
ERR_free_strings();
|
||||
{
|
||||
struct stack_st_SSL_COMP * pCOMP = SSL_COMP_get_compression_methods();
|
||||
if (pCOMP)
|
||||
sk_SSL_COMP_free(pCOMP);
|
||||
sk_SSL_COMP_free(SSL_COMP_get_compression_methods());
|
||||
}
|
||||
/* end of OpenSSL cleanup code */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue