free NULL cleanup 11
authorRich Salz <rsalz@openssl.org>
Fri, 1 May 2015 14:15:18 +0000 (10:15 -0400)
committerRich Salz <rsalz@openssl.org>
Fri, 1 May 2015 14:15:18 +0000 (10:15 -0400)
commitefa7dd64443f246004751bdaa5671bf6836e07ff
treedf55d807a97d046ce17eb12adca78ea36a6038fa
parentb548a1f11c06ccdfa4f52a539912d22d77ee309e
free NULL cleanup 11

Don't check for NULL before calling free functions. This gets:
        ERR_STATE_free
        ENGINE_free
        DSO_free
        CMAC_CTX_free
        COMP_CTX_free
        CONF_free
        NCONF_free NCONF_free_data _CONF_free_data
        A sk_free use within OBJ_sigid_free
        TS_TST_INFO_free (rest of TS_ API was okay)
        Doc update for UI_free (all uses were fine)
        X509V3_conf_free
        X509V3_section_free
        X509V3_string_free

Reviewed-by: Richard Levitte <levitte@openssl.org>
32 files changed:
apps/apps.c
apps/req.c
crypto/asn1/asn1_gen.c
crypto/asn1/asn_mstbl.c
crypto/cmac/cm_ameth.c
crypto/cmac/cmac.c
crypto/comp/c_zlib.c
crypto/conf/conf_api.c
crypto/conf/conf_mod.c
crypto/dso/dso_lib.c
crypto/engine/eng_cnf.c
crypto/engine/eng_dyn.c
crypto/engine/eng_lib.c
crypto/engine/eng_table.c
crypto/err/err.c
crypto/objects/obj_xref.c
crypto/ts/ts_asn1.c
crypto/ts/ts_conf.c
demos/engines/cluster_labs/hw_cluster_labs.c
demos/engines/ibmca/hw_ibmca.c
demos/engines/zencod/hw_zencod.c
engines/e_4758cca.c
engines/e_aep.c
engines/e_atalla.c
engines/e_chil.c
engines/e_cswift.c
engines/e_sureware.c
engines/e_ubsec.c
ssl/s3_enc.c
ssl/ssl_lib.c
ssl/t1_enc.c
test/enginetest.c