Commit d75c56f4 authored by Matt Caswell's avatar Matt Caswell
Browse files

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: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3040)
parent 04bc46dd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
}
+1 −0
Original line number Diff line number Diff line
@@ -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);
}