diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-08-15 22:41:26 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-08-15 22:41:26 +0200 |
commit | 53604151bd76275e7e85bc267a074a0b8cd015b0 (patch) | |
tree | 25398b644007dbbedf5ee0246163ed9cc74c515b | |
parent | 881864151d7a2c49364cb1e6b6f5e0db0bbfea31 (diff) | |
download | gnutls_3_1_0.tar.gz |
avoid memory leakgnutls_3_1_0
-rw-r--r-- | tests/mini-handshake-timeout.c | 2 |
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) |