diff options
Diffstat (limited to 'src/lib/libtls/tls_util.c')
-rw-r--r-- | src/lib/libtls/tls_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libtls/tls_util.c b/src/lib/libtls/tls_util.c index a7b9faabbe..919ea9a6ac 100644 --- a/src/lib/libtls/tls_util.c +++ b/src/lib/libtls/tls_util.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_util.c,v 1.2 2015/02/07 23:25:37 reyk Exp $ */ | 1 | /* $OpenBSD: tls_util.c,v 1.3 2015/09/09 19:49:07 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> | 4 | * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> |
@@ -73,14 +73,14 @@ tls_host_port(const char *hostport, char **host, char **port) | |||
73 | rv = 0; | 73 | rv = 0; |
74 | goto done; | 74 | goto done; |
75 | 75 | ||
76 | fail: | 76 | fail: |
77 | free(*host); | 77 | free(*host); |
78 | *host = NULL; | 78 | *host = NULL; |
79 | free(*port); | 79 | free(*port); |
80 | *port = NULL; | 80 | *port = NULL; |
81 | rv = -1; | 81 | rv = -1; |
82 | 82 | ||
83 | done: | 83 | done: |
84 | free(s); | 84 | free(s); |
85 | 85 | ||
86 | return (rv); | 86 | return (rv); |