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
commit32c39e0ae02a179acb5935ebf570e6a10f599f3a (patch)
treeb64104921480d368bdc6ac1bc3d98c8d4ac6bda8 /src
parent4380887eb3da9276eac8a4c165732e32126b1bc8 (diff)
downloadopenbsd-32c39e0ae02a179acb5935ebf570e6a10f599f3a.tar.gz
openbsd-32c39e0ae02a179acb5935ebf570e6a10f599f3a.tar.bz2
openbsd-32c39e0ae02a179acb5935ebf570e6a10f599f3a.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);