diff --git a/src/common/tortls.c b/src/common/tortls.c index ec59d67ae6..0d9a5defe0 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -825,6 +825,7 @@ tor_tls_new(int sock, int isServer) { char *fake_hostname = crypto_random_hostname(4,25, "www.",".com"); SSL_set_tlsext_host_name(result->ssl, fake_hostname); + tor_free(fake_hostname); } #endif