diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index e31552a2..2efb58e8 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -2207,7 +2207,7 @@ void ssl3_clear(SSL *s) if (s->s3->alpn_selected) { - free(s->s3->alpn_selected); + OPENSSL_free(s->s3->alpn_selected); s->s3->alpn_selected = NULL; } memset(s->s3,0,sizeof *s->s3);