mbedtls: free stream on shutdown
diff --git a/src/streams/mbedtls.c b/src/streams/mbedtls.c
index b6929cc..f3aa5d7 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);
}