diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-01-16 12:18:50 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-01-16 12:19:19 +0100 |
commit | f671b877e6408d0827d701f00006cdf8dd2300c5 (patch) | |
tree | dd37555829c0dfc2675de4cb53f052f3dff417a2 | |
parent | 92adc34b97052cb89d659ac97e2efd49fe02a932 (diff) | |
download | gnutls-f671b877e6408d0827d701f00006cdf8dd2300c5.tar.gz |
when freeing priority_cache make sure it is set to NULL
-rw-r--r-- | lib/gnutls_priority.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c index dc6f1fe177..875f9b0f20 100644 --- a/lib/gnutls_priority.c +++ b/lib/gnutls_priority.c @@ -1079,6 +1079,7 @@ gnutls_priority_init(gnutls_priority_t * priority_cache, } gnutls_free(darg); gnutls_free(*priority_cache); + *priority_cache = NULL; return GNUTLS_E_INVALID_REQUEST; |