summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 13:51:08 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 13:51:08 +1100
commit6f98a1fea710ab2dae0342f9a3cee8f01372b666 (patch)
tree55b9c965849f607d92e6d588d5a7d4c4659ba07b
parent304a940889e7673a017147e2dcbdaefb564f427a (diff)
- djm@cvs.openbsd.org 2006/03/19 02:22:32
[serverloop.c] memory leaks detected by Coverity via elad AT netbsd.org; ok deraadt@ dtucker@
-rw-r--r--ChangeLog6
-rw-r--r--serverloop.c1
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e4249605..0ceea0717 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,10 @@
14 - djm@cvs.openbsd.org 2006/03/17 22:31:11 14 - djm@cvs.openbsd.org 2006/03/17 22:31:11
15 [authfd.c] 15 [authfd.c]
16 unreachanble statement, found by lint 16 unreachanble statement, found by lint
17 - djm@cvs.openbsd.org 2006/03/19 02:22:32
18 [serverloop.c]
19 memory leaks detected by Coverity via elad AT netbsd.org;
20 ok deraadt@ dtucker@
17 21
1820060325 2220060325
19 - OpenBSD CVS Sync 23 - OpenBSD CVS Sync
@@ -4271,4 +4275,4 @@
4271 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 4275 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
4272 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 4276 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
4273 4277
4274$Id: ChangeLog,v 1.4245 2006/03/26 02:50:37 djm Exp $ 4278$Id: ChangeLog,v 1.4246 2006/03/26 02:51:08 djm Exp $
diff --git a/serverloop.c b/serverloop.c
index 2ad0bcf2b..3efe7d80b 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -1090,6 +1090,7 @@ server_input_global_request(int type, u_int32_t seq, void *ctxt)
1090 1090
1091 success = channel_cancel_rport_listener(cancel_address, 1091 success = channel_cancel_rport_listener(cancel_address,
1092 cancel_port); 1092 cancel_port);
1093 xfree(cancel_address);
1093 } 1094 }
1094 if (want_reply) { 1095 if (want_reply) {
1095 packet_start(success ? 1096 packet_start(success ?