- 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
This commit is contained in:
Damien Miller 2006-03-26 14:01:54 +11:00
parent 3305f5591f
commit 96937bd914
2 changed files with 10 additions and 1 deletions

View File

@ -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 $

View File

@ -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",