diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-26 14:01:54 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-26 14:01:54 +1100 |
commit | 96937bd9144f582330478ed5c5b76dd3286c46e4 (patch) | |
tree | bb8ab173adef7a477456b29ec0f11184d960088f | |
parent | 3305f5591f7a1b17565a1f13683d0b20287130c3 (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-- | ChangeLog | 7 | ||||
-rw-r--r-- | monitor.c | 4 |
2 files changed, 10 insertions, 1 deletions
@@ -56,6 +56,11 @@ [authfile.c] whoever thought that break after return was a good idea needs to get their head examimed + - 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 20060325 - OpenBSD CVS Sync @@ -4313,4 +4318,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4257 2006/03/26 03:00:31 djm Exp $ +$Id: ChangeLog,v 1.4258 2006/03/26 03:01:54 djm Exp $ @@ -1021,6 +1021,10 @@ mm_answer_keyallowed(int sock, Buffer *m) key_blobtype = type; hostbased_cuser = cuser; hostbased_chost = chost; + } else { + xfree(blob); + xfree(cuser); + xfree(chost); } debug3("%s: key %p is %s", |