Add tests for ALPN functionality.
[openssl.git] / apps / s_client.c
index b7e4fbb..61ad291 100644 (file)
@@ -1329,6 +1329,7 @@ bad:
                        goto end;
                        }
                SSL_CTX_set_alpn_protos(ctx, alpn, alpn_len);
+               OPENSSL_free(alpn);
                }
 #endif
 #ifndef OPENSSL_NO_TLSEXT