openssl/crypto/x509v3
David Benjamin e125c12f57 Use sk_CONF_VALUE_pop_free in do_ext_nconf error path.
8605abf135 fixed the nval leak, but it
used free instead of pop_free. nval owns its contents, so it should be
freed with pop_free. See the pop_free call a few lines down.

This is a no-op as, in this codepath, we must have nval == NULL or
sk_CONF_VALUE_num(nval) == 0. In those cases, free and pop_free are
identical. However, variables should be freed consistently.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1351)
2016-07-26 16:03:42 -04:00
..
build.info
ext_dat.h
pcy_cache.c
pcy_data.c
pcy_int.h
pcy_lib.c
pcy_map.c
pcy_node.c
pcy_tree.c
tabtest.c
v3_addr.c
v3_akey.c
v3_akeya.c
v3_alt.c
v3_asid.c
v3_bcons.c
v3_bitst.c
v3_conf.c Use sk_CONF_VALUE_pop_free in do_ext_nconf error path. 2016-07-26 16:03:42 -04:00
v3_cpols.c
v3_crld.c
v3_enum.c
v3_extku.c
v3_genn.c
v3_ia5.c
v3_info.c
v3_int.c
v3_lib.c Constify (X509|X509V3|X509_CRL|X509_REVOKED)_get_ext_d2i ... 2016-07-25 08:20:00 -04:00
v3_ncons.c
v3_pci.c
v3_pcia.c
v3_pcons.c
v3_pku.c
v3_pmaps.c
v3_prn.c
v3_purp.c Make it possible for external code to set the certiciate proxy path length 2016-07-25 17:36:39 +02:00
v3_skey.c
v3_sxnet.c
v3_tlsf.c
v3_utl.c
v3conf.c
v3err.c
v3prin.c