The branch OpenSSL_1_0_2-stable has been updated via d75c56f479820b1b025e7987f27d43ce2ed748d7 (commit) from 04bc46ddd58a91d48da53304b929fc28c23e3f28 (commit)
- Log ----------------------------------------------------------------- commit d75c56f479820b1b025e7987f27d43ce2ed748d7 Author: Matt Caswell <m...@openssl.org> Date: Mon Mar 27 10:21:59 2017 +0100 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 <levi...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3040) ----------------------------------------------------------------------- Summary of changes: apps/s_client.c | 1 + apps/s_server.c | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/s_client.c b/apps/s_client.c index 3cabfb5..85c1b6b 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -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); } diff --git a/apps/s_server.c b/apps/s_server.c index b561cf3..d758713 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -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); } _____ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits