summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/channels.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2001-01-24 21:03:51 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2001-01-24 21:03:51 +0000
commit843d60dfa8d6e060295e344cc74c40b6b8bfc233 (patch)
tree4e81f917e819733680d2587ed1cdc92a2f890757 /usr.bin/ssh/channels.c
parent4f56b41cc1932369bd1c62c8a504ddb3f4b71b8e (diff)
missing freeaddrinfo(); ok markus@
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r--usr.bin/ssh/channels.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index 8e3592b8566..4b55b6ced76 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -40,7 +40,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: channels.c,v 1.82 2001/01/21 19:05:46 markus Exp $");
+RCSID("$OpenBSD: channels.c,v 1.83 2001/01/24 21:03:50 stevesk Exp $");
#include <openssl/rsa.h>
#include <openssl/dsa.h>
@@ -1902,6 +1902,7 @@ x11_create_display_inet(int screen_number, int x11_display_offset)
if (num_socks == NUM_SOCKS)
break;
}
+ freeaddrinfo(aitop);
if (num_socks > 0)
break;
}