Changeset db9ef68 in mod_gnutls


Ignore:
Timestamp:
Jun 15, 2016, 2:20:43 PM (18 months ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
master, debian, upstream
Children:
45b7b83
Parents:
81433f1
Message:

Deinit client CA list on config pool cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r81433f1 rdb9ef68  
    141141    }
    142142
     143    if (sc->ca_list)
     144    {
     145        for (unsigned int i = 0; i < sc->ca_list_size; i++)
     146        {
     147            gnutls_x509_crt_deinit(sc->ca_list[i]);
     148        }
     149        gnutls_free(sc->ca_list);
     150        sc->ca_list = NULL;
     151    }
     152
    143153    if (sc->priorities)
    144154    {
     
    10551065    sc->priorities = NULL;
    10561066    sc->dh_params = NULL;
     1067    sc->ca_list = NULL;
     1068    sc->ca_list_size = 0;
    10571069    sc->proxy_enabled = GNUTLS_ENABLED_UNSET;
    10581070    sc->export_certificates_size = -1;
Note: See TracChangeset for help on using the changeset viewer.