typo: should be OPENSSL_free
authorDr. Stephen Henson <steve@openssl.org>
Sat, 20 Jun 2015 15:10:54 +0000 (16:10 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 20 Jun 2015 18:28:58 +0000 (19:28 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit bc9567cdc9a56b5c904e075e3b929076c1e7583c)

ssl/s3_lib.c

index 5db349a23a6a59513e108309acb0c59730c68322..ad9eeb6fd45345fcecc7c062cc6f5af0e059c69d 100644 (file)
@@ -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