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:42:59 +0300
commitd89d3790a7af4c871561526e3283f16e48bac541 (patch)
treeff85698805e7de9a203e53b9f49d8219aae82646
parent8a8ddeff2e498f4f50e34aed4985e535c0a85ed2 (diff)
downloadgnutls-d89d3790a7af4c871561526e3283f16e48bac541.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 dc20149566..6cb0ad7014 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;
}
}