summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gnutls_priority.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c
index ce942dc645..725358757f 100644
--- a/lib/gnutls_priority.c
+++ b/lib/gnutls_priority.c
@@ -789,6 +789,7 @@ error:
}
gnutls_free (darg);
gnutls_free (*priority_cache);
+ *priority_cache = NULL;
return GNUTLS_E_INVALID_REQUEST;