mirror of https://github.com/openssl/openssl.git
Free the compression methods in s_server and s_client
This causes a minor (64 bytes on my machine) mem leak in s_server/s_client. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3040)
This commit is contained in:
parent
04bc46ddd5
commit
d75c56f479
|
|
@ -2132,6 +2132,7 @@ int MAIN(int argc, char **argv)
|
|||
BIO_free(bio_c_msg);
|
||||
bio_c_msg = NULL;
|
||||
}
|
||||
SSL_COMP_free_compression_methods();
|
||||
apps_shutdown();
|
||||
OPENSSL_EXIT(ret);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2132,6 +2132,7 @@ int MAIN(int argc, char *argv[])
|
|||
BIO_free(bio_s_msg);
|
||||
bio_s_msg = NULL;
|
||||
}
|
||||
SSL_COMP_free_compression_methods();
|
||||
apps_shutdown();
|
||||
OPENSSL_EXIT(ret);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue