summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2017-01-24 01:46:12 +0000
committerjsing <>2017-01-24 01:46:12 +0000
commit3f2af6db2301cb5c26c24b32c86a38d11deab1ad (patch)
treeb64104921480d368bdc6ac1bc3d98c8d4ac6bda8 /src
parent3081f3692fb8e5bf49e152a7ae9b9ff9c9fc674a (diff)
downloadopenbsd-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')
-rw-r--r--src/lib/libssl/ssl_lib.c3
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);