Following the previous 2 commits also move ecpointformats out of session
[openssl.git] / ssl / ssl_lib.c
index 220168a1485cd73511fd8e939841b7d4341ba2e5..d15b743f5096b38d3bb63f1e151272a331820866 100644 (file)
@@ -1188,6 +1188,7 @@ void SSL_free(SSL *s)
     SSL_CTX_free(s->session_ctx);
 #ifndef OPENSSL_NO_EC
     OPENSSL_free(s->ext.ecpointformats);
+    OPENSSL_free(s->ext.peer_ecpointformats);
     OPENSSL_free(s->ext.supportedgroups);
     OPENSSL_free(s->ext.peer_supportedgroups);
 #endif                          /* OPENSSL_NO_EC */