summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 14:01:54 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 14:01:54 +1100
commit96937bd9144f582330478ed5c5b76dd3286c46e4 (patch)
treebb8ab173adef7a477456b29ec0f11184d960088f
parent3305f5591f7a1b17565a1f13683d0b20287130c3 (diff)
- djm@cvs.openbsd.org 2006/03/20 04:09:44
[monitor.c] memory leaks detected by Coverity via elad AT netbsd.org; deraadt@ ok that should be all of them now
-rw-r--r--ChangeLog7
-rw-r--r--monitor.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 302b1e1fc..8bebeda19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -56,6 +56,11 @@
56 [authfile.c] 56 [authfile.c]
57 whoever thought that break after return was a good idea needs to 57 whoever thought that break after return was a good idea needs to
58 get their head examimed 58 get their head examimed
59 - djm@cvs.openbsd.org 2006/03/20 04:09:44
60 [monitor.c]
61 memory leaks detected by Coverity via elad AT netbsd.org;
62 deraadt@ ok
63 that should be all of them now
59 64
6020060325 6520060325
61 - OpenBSD CVS Sync 66 - OpenBSD CVS Sync
@@ -4313,4 +4318,4 @@
4313 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 4318 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
4314 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 4319 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
4315 4320
4316$Id: ChangeLog,v 1.4257 2006/03/26 03:00:31 djm Exp $ 4321$Id: ChangeLog,v 1.4258 2006/03/26 03:01:54 djm Exp $
diff --git a/monitor.c b/monitor.c
index 8b304f99c..11244d273 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1021,6 +1021,10 @@ mm_answer_keyallowed(int sock, Buffer *m)
1021 key_blobtype = type; 1021 key_blobtype = type;
1022 hostbased_cuser = cuser; 1022 hostbased_cuser = cuser;
1023 hostbased_chost = chost; 1023 hostbased_chost = chost;
1024 } else {
1025 xfree(blob);
1026 xfree(cuser);
1027 xfree(chost);
1024 } 1028 }
1025 1029
1026 debug3("%s: key %p is %s", 1030 debug3("%s: key %p is %s",