summaryrefslogtreecommitdiff
path: root/lib/auth.c
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-02-12 15:14:07 +0100
committerTim Rühsen <tim.ruehsen@gmx.de>2019-02-22 13:11:01 +0100
commit372821c883a3d36ed3ed683844ad9d90818f6392 (patch)
tree6783b9830f7eb9294a5bd316c9786e5d6981abaf /lib/auth.c
parentd39778e43d1674cb3ab3685157fd299816d535c0 (diff)
downloadgnutls-372821c883a3d36ed3ed683844ad9d90818f6392.tar.gz
Remove redundant resets of variables after free()
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'lib/auth.c')
-rw-r--r--lib/auth.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/auth.c b/lib/auth.c
index dd3fc861fb..4a0e38b444 100644
--- a/lib/auth.c
+++ b/lib/auth.c
@@ -372,8 +372,6 @@ void _gnutls_free_auth_info(gnutls_session_t session)
gnutls_free(info->raw_certificate_list);
gnutls_free(info->raw_ocsp_list);
- info->raw_certificate_list = NULL;
- info->raw_ocsp_list = NULL;
info->ncerts = 0;
info->nocsp = 0;
@@ -390,7 +388,6 @@ void _gnutls_free_auth_info(gnutls_session_t session)
}
gnutls_free(session->key.auth_info);
- session->key.auth_info = NULL;
session->key.auth_info_size = 0;
session->key.auth_info_type = 0;