From 8615d8b4ec08864674c2d8226f4c6c192e313893 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 20 Jun 2015 16:10:54 +0100 Subject: [PATCH] typo: should be OPENSSL_free Reviewed-by: Richard Levitte (cherry picked from commit bc9567cdc9a56b5c904e075e3b929076c1e7583c) --- ssl/s3_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 5db349a23..ad9eeb6fd 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -3084,7 +3084,7 @@ void ssl3_clear(SSL *s) } #if !defined(OPENSSL_NO_TLSEXT) if (s->s3->alpn_selected) { - free(s->s3->alpn_selected); + OPENSSL_free(s->s3->alpn_selected); s->s3->alpn_selected = NULL; } #endif