summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index c72341547a..ad1cfb4f40 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -981,7 +981,7 @@ int SSL_add1_host(SSL *s, const char *hostname)
old_ip = X509_VERIFY_PARAM_get1_ip_asc(s->param);
if (old_ip)
{
- free(old_ip);
+ OPENSSL_free(old_ip);
/* There can be only one IP address */
return 0;
}