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:44:31 +0300
commit9c8e9e310e5e431fba101f6a3e00cd98a924de1b (patch)
treed0e891e58ef32177bbde61f2073d8db91e852110
parent52df2cf89c4f8f60fc87abedef142357fe283821 (diff)
downloadgnutls_2_0_x.tar.gz
removed unnesessary and dangerous free from credentials_set().gnutls_2_0_x
-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 d72944321d..545e905450 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;
}
}