mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-07 22:00:37 +00:00
CLEANUP: Reapply ha_free.cocci
This reapplies ha_free.cocci across the whole src/ tree.
This commit is contained in:
parent
7c317f4619
commit
ec38e1b39b
@ -2866,8 +2866,7 @@ init_proxies_list_stage1:
|
|||||||
#ifdef USE_OPENSSL
|
#ifdef USE_OPENSSL
|
||||||
/* no-alpn ? If so, it's the right moment to remove it */
|
/* no-alpn ? If so, it's the right moment to remove it */
|
||||||
if (bind_conf->ssl_conf.alpn_str && !bind_conf->ssl_conf.alpn_len) {
|
if (bind_conf->ssl_conf.alpn_str && !bind_conf->ssl_conf.alpn_len) {
|
||||||
free(bind_conf->ssl_conf.alpn_str);
|
ha_free(&bind_conf->ssl_conf.alpn_str);
|
||||||
bind_conf->ssl_conf.alpn_str = NULL;
|
|
||||||
}
|
}
|
||||||
#ifdef TLSEXT_TYPE_application_layer_protocol_negotiation
|
#ifdef TLSEXT_TYPE_application_layer_protocol_negotiation
|
||||||
else if (!bind_conf->ssl_conf.alpn_str && !bind_conf->ssl_conf.npn_str &&
|
else if (!bind_conf->ssl_conf.alpn_str && !bind_conf->ssl_conf.npn_str &&
|
||||||
|
Loading…
Reference in New Issue
Block a user