diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-02-27 17:00:57 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-02-27 17:00:57 +0100 |
commit | d761d061a8c0240a09e11d973b2bfe50e96f8a22 (patch) | |
tree | 8f5c4ae37c74447d0eb17365e513a04074383c1d /lib | |
parent | 5345fba0899b16548836eb57aecb38113db5735e (diff) | |
download | gnutls-d761d061a8c0240a09e11d973b2bfe50e96f8a22.tar.gz |
no need to memset during session deinit.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gnutls_state.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gnutls_state.c b/lib/gnutls_state.c index d5803026a8..6d16ab0845 100644 --- a/lib/gnutls_state.c +++ b/lib/gnutls_state.c @@ -483,7 +483,6 @@ gnutls_deinit (gnutls_session_t session) _gnutls_mpi_release (&session->key.dh_secret); - memset (session, 0, sizeof (struct gnutls_session_int)); gnutls_free (session); } |