summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/mini-handshake-timeout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mini-handshake-timeout.c b/tests/mini-handshake-timeout.c
index dc868618f4..30d899fb55 100644
--- a/tests/mini-handshake-timeout.c
+++ b/tests/mini-handshake-timeout.c
@@ -113,6 +113,7 @@ client (int fd, int wait)
while (ret < 0 && gnutls_error_is_fatal(ret) == 0);
gnutls_deinit(session);
+ gnutls_anon_free_client_credentials(anoncred);
gnutls_global_deinit();
if (ret < 0)
@@ -190,6 +191,7 @@ int ret;
while (ret < 0 && gnutls_error_is_fatal(ret) == 0);
gnutls_deinit (session);
+ gnutls_anon_free_server_credentials(anoncred);
gnutls_global_deinit();
if (ret < 0)