diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-01-16 12:20:12 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-01-16 12:20:12 +0100 |
commit | 106dd237887c0dc7e6120969ce27a0988cce401c (patch) | |
tree | 8b501d0fd3527dc659b52cd1e6c3cbd8f2026776 | |
parent | 7988bdd5812d95b0f9fa7f4d9ebe9913e6bcd1aa (diff) | |
download | gnutls-106dd237887c0dc7e6120969ce27a0988cce401c.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 777710990b..7eff609f35 100644 --- a/lib/gnutls_priority.c +++ b/lib/gnutls_priority.c @@ -1117,6 +1117,7 @@ error: } gnutls_free (darg); gnutls_free (*priority_cache); + *priority_cache = NULL; return GNUTLS_E_INVALID_REQUEST; |