summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/packet.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2007-05-31 23:34:30 +0000
committerDamien Miller <djm@cvs.openbsd.org>2007-05-31 23:34:30 +0000
commita951714fe6693391e5a9b1257e76f1adc2a9e893 (patch)
tree1429a8f1f41bad853fad5abfbe62ecff6b9d4cbd /usr.bin/ssh/packet.c
parent7d0025b0c06952a8102c0d10a4cfa3ddddcaaac6 (diff)
gc unreachable code; spotted by Tavis Ormandy
Diffstat (limited to 'usr.bin/ssh/packet.c')
-rw-r--r--usr.bin/ssh/packet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c
index 1f0fabd7607..8738e9fad2c 100644
--- a/usr.bin/ssh/packet.c
+++ b/usr.bin/ssh/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.145 2006/09/19 21:14:08 markus Exp $ */
+/* $OpenBSD: packet.c,v 1.146 2007/05/31 23:34:29 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1226,7 +1226,6 @@ packet_read_poll_seqnr(u_int32_t *seqnr_p)
logit("Received disconnect from %s: %.400s",
get_remote_ipaddr(), msg);
cleanup_exit(255);
- xfree(msg);
break;
default:
if (type)