diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index eaa471685..d20042a3e 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -363,7 +363,7 @@ struct hostent *BIO_gethostbyname(const char *name) /* else add to cache */ if (ghbn_cache[lowi].ent != NULL) - ghbn_free(ghbn_cache[lowi].ent); + ghbn_free(ghbn_cache[lowi].ent); /* XXX not thread-safe */ ghbn_cache[lowi].name[0] = '\0'; if((ret=ghbn_cache[lowi].ent=ghbn_dup(ret)) == NULL)