diff options
author | Daiki Ueno <ueno@unixuser.org> | 2009-08-25 06:46:38 +0900 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-08-24 23:48:00 +0200 |
commit | 2a92130c7b3286f14db53b539408df8ac41840fc (patch) | |
tree | b4fd038520a193cac76e99899d0398ae4feafa97 /tests/resume.c | |
parent | 355ad0d9feb15b781896c74f8564b71f4392d8f0 (diff) | |
download | gnutls-2a92130c7b3286f14db53b539408df8ac41840fc.tar.gz |
Fix double-free
Signed-off-by: Simon Josefsson <simon@josefsson.org>
Diffstat (limited to 'tests/resume.c')
-rw-r--r-- | tests/resume.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/resume.c b/tests/resume.c index 9c239408bf..cbd4968f5a 100644 --- a/tests/resume.c +++ b/tests/resume.c @@ -422,6 +422,7 @@ server (struct params_res *params) } gnutls_free (session_ticket_key.data); + session_ticket_key.data = NULL; success ("server: finished\n"); } @@ -459,7 +460,7 @@ doit (void) else { client (&resume_tests[i]); - global_stop (); + gnutls_global_deinit (); exit (0); } } |