summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@crystal.(none)>2008-09-15 21:41:02 +0300
committerNikos Mavrogiannopoulos <nmav@crystal.(none)>2008-09-15 21:41:02 +0300
commit1356ed0a4daaf98b3514aaaf289b7f47b13388e1 (patch)
treeb0cac8b2e2e7eb0d3e804c3e24d8b0a1202da3e8
parent5affc4b878371cf802b2529d0caf5668346dd4bc (diff)
downloadgnutls-1356ed0a4daaf98b3514aaaf289b7f47b13388e1.tar.gz
removed unnesessary and dangerous free from credentials_set().
-rw-r--r--lib/gnutls_auth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gnutls_auth.c b/lib/gnutls_auth.c
index fc6573e70c..64fbd18d6b 100644
--- a/lib/gnutls_auth.c
+++ b/lib/gnutls_auth.c
@@ -141,7 +141,6 @@ gnutls_credentials_set (gnutls_session_t session,
}
else
{ /* modify existing entry */
- gnutls_free (ccred->credentials);
ccred->credentials = cred;
}
}