Commit 3ca84ac0ed2675387d5e65f28a7e256ddeab87bf

Edward Thomson 2015-06-29T20:29:29

openssl: free hostname

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/openssl_stream.c b/src/openssl_stream.c
index 90af4ae..958252e 100644
--- a/src/openssl_stream.c
+++ b/src/openssl_stream.c
@@ -413,6 +413,7 @@ void openssl_free(git_stream *stream)
 {
 	openssl_stream *st = (openssl_stream *) stream;
 
+	git__free(st->host);
 	git__free(st->cert_info.data);
 	git_stream_free(st->io);
 	git__free(st);