diff options
author | Damien Miller <djm@mindrot.org> | 2004-06-15 10:27:15 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-06-15 10:27:15 +1000 |
commit | 3e4dffb140d3eb6eafddf2318baa8e4c33d4531e (patch) | |
tree | 83e207a49b88af6b03d9a10d778e9e05bd0946ee /channels.c | |
parent | 350327c0428572f16b1c4080ef61473942217a27 (diff) |
- markus@cvs.openbsd.org 2004/05/26 23:02:39
[channels.c]
missing freeaddrinfo; Andrey Matveev
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels.c b/channels.c index 2b1ce0e5c..437befa34 100644 --- a/channels.c +++ b/channels.c | |||
@@ -39,7 +39,7 @@ | |||
39 | */ | 39 | */ |
40 | 40 | ||
41 | #include "includes.h" | 41 | #include "includes.h" |
42 | RCSID("$OpenBSD: channels.c,v 1.202 2004/05/21 11:33:11 djm Exp $"); | 42 | RCSID("$OpenBSD: channels.c,v 1.203 2004/05/26 23:02:39 markus Exp $"); |
43 | 43 | ||
44 | #include "ssh.h" | 44 | #include "ssh.h" |
45 | #include "ssh1.h" | 45 | #include "ssh1.h" |
@@ -2570,6 +2570,7 @@ x11_create_display_inet(int x11_display_offset, int x11_use_localhost, | |||
2570 | if (sock < 0) { | 2570 | if (sock < 0) { |
2571 | if ((errno != EINVAL) && (errno != EAFNOSUPPORT)) { | 2571 | if ((errno != EINVAL) && (errno != EAFNOSUPPORT)) { |
2572 | error("socket: %.100s", strerror(errno)); | 2572 | error("socket: %.100s", strerror(errno)); |
2573 | freeaddrinfo(aitop); | ||
2573 | return -1; | 2574 | return -1; |
2574 | } else { | 2575 | } else { |
2575 | debug("x11_create_display_inet: Socket family %d not supported", | 2576 | debug("x11_create_display_inet: Socket family %d not supported", |