summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/streams/mbedtls.c1
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);
}