diff options
author | jsing <> | 2017-01-24 01:46:12 +0000 |
---|---|---|
committer | jsing <> | 2017-01-24 01:46:12 +0000 |
commit | 3f2af6db2301cb5c26c24b32c86a38d11deab1ad (patch) | |
tree | b64104921480d368bdc6ac1bc3d98c8d4ac6bda8 /src/lib | |
parent | 3081f3692fb8e5bf49e152a7ae9b9ff9c9fc674a (diff) | |
download | openbsd-3f2af6db2301cb5c26c24b32c86a38d11deab1ad.tar.gz openbsd-3f2af6db2301cb5c26c24b32c86a38d11deab1ad.tar.bz2 openbsd-3f2af6db2301cb5c26c24b32c86a38d11deab1ad.zip |
Remove a "free up if allocated" comment that exists before code that frees
things if they are allocated.
ok captainobvious@
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libssl/ssl_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index 01041146b7..df1d278b2e 100644 --- a/src/lib/libssl/ssl_lib.c +++ b/src/lib/libssl/ssl_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_lib.c,v 1.142 2017/01/24 01:44:00 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.143 2017/01/24 01:46:12 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -531,7 +531,6 @@ SSL_free(SSL *s) | |||
531 | 531 | ||
532 | if (s->cert != NULL) | 532 | if (s->cert != NULL) |
533 | ssl_cert_free(s->cert); | 533 | ssl_cert_free(s->cert); |
534 | /* Free up if allocated */ | ||
535 | 534 | ||
536 | free(s->tlsext_hostname); | 535 | free(s->tlsext_hostname); |
537 | SSL_CTX_free(s->initial_ctx); | 536 | SSL_CTX_free(s->initial_ctx); |