summaryrefslogtreecommitdiff
path: root/lib/gnutls_db.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-11-05 12:43:06 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-11-05 12:43:06 +0000
commite81d50a2a7ab57921da8ced4c634878fec7ed643 (patch)
tree60a7fc9b2b8768c6126117f3ece004b41794a784 /lib/gnutls_db.c
parent208a367a3f52591d4655c829d945f8a8d3e7979d (diff)
downloadgnutls-e81d50a2a7ab57921da8ced4c634878fec7ed643.tar.gz
Diffstat (limited to 'lib/gnutls_db.c')
-rw-r--r--lib/gnutls_db.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gnutls_db.c b/lib/gnutls_db.c
index df7f47248d..155c23bad7 100644
--- a/lib/gnutls_db.c
+++ b/lib/gnutls_db.c
@@ -294,6 +294,9 @@ int ret;
/* expiration check is performed inside */
ret = gnutls_set_current_session( state, data.data, data.size);
+
+ /* Note: Data is not allocated with gnutls_malloc
+ */
free(data.data);
return 0;