diff options
author | 2017-01-24 01:46:12 +0000 | |
---|---|---|
committer | 2017-01-24 01:46:12 +0000 | |
commit | a5a4aafb523537ee2a9e51eb74b2cd2173451060 (patch) | |
tree | 7552b640c49182c38638284e587250068a2e5d43 /lib/libssl/ssl_lib.c | |
parent | sk_SSL_CIPHER_free() checks for NULL so do not bother doing the same from (diff) | |
download | wireguard-openbsd-a5a4aafb523537ee2a9e51eb74b2cd2173451060.tar.xz wireguard-openbsd-a5a4aafb523537ee2a9e51eb74b2cd2173451060.zip |
Remove a "free up if allocated" comment that exists before code that frees
things if they are allocated.
ok captainobvious@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r-- | lib/libssl/ssl_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c index 01041146b73..df1d278b2ef 100644 --- a/lib/libssl/ssl_lib.c +++ b/lib/libssl/ssl_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_lib.c,v 1.142 2017/01/24 01:44:00 jsing Exp $ */ +/* $OpenBSD: ssl_lib.c,v 1.143 2017/01/24 01:46:12 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -531,7 +531,6 @@ SSL_free(SSL *s) if (s->cert != NULL) ssl_cert_free(s->cert); - /* Free up if allocated */ free(s->tlsext_hostname); SSL_CTX_free(s->initial_ctx); |