diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-07-21 01:36:46 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-07-20 17:39:06 -0700 |
commit | 2fabb622edccac0dc86542555afc390bee4d4f68 (patch) | |
tree | 254487b2415f1950cd6cb4bf6216125335c8af8d | |
parent | 9e002cd54b855c078379819b39dfaf9d9d8bf54a (diff) | |
download | libgit2-2fabb622edccac0dc86542555afc390bee4d4f68.tar.gz |
mbedtls: free stream on shutdownethomson/leaks
-rw-r--r-- | src/streams/mbedtls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/streams/mbedtls.c b/src/streams/mbedtls.c index b6929cc63..f3aa5d7ba 100644 --- a/src/streams/mbedtls.c +++ b/src/streams/mbedtls.c @@ -359,6 +359,7 @@ void mbedtls_stream_free(git_stream *stream) git__free(st->host); git__free(st->cert_info.data); git_stream_free(st->io); + mbedtls_ssl_free(st->ssl); git__free(st->ssl); git__free(st); } |