- djm@cvs.openbsd.org 2006/03/19 02:23:26
[hostfile.c] FILE* leak detected by Coverity via elad AT netbsd.org; ok deraadt@
This commit is contained in:
parent
e0b90a6766
commit
6db780e259
|
@ -22,6 +22,10 @@
|
||||||
[sftp.c]
|
[sftp.c]
|
||||||
more memory leaks detected by Coverity via elad AT netbsd.org;
|
more memory leaks detected by Coverity via elad AT netbsd.org;
|
||||||
deraadt@ ok
|
deraadt@ ok
|
||||||
|
- djm@cvs.openbsd.org 2006/03/19 02:23:26
|
||||||
|
[hostfile.c]
|
||||||
|
FILE* leak detected by Coverity via elad AT netbsd.org;
|
||||||
|
ok deraadt@
|
||||||
|
|
||||||
20060325
|
20060325
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
|
@ -4279,4 +4283,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.4247 2006/03/26 02:51:44 djm Exp $
|
$Id: ChangeLog,v 1.4248 2006/03/26 02:52:20 djm Exp $
|
||||||
|
|
|
@ -253,8 +253,10 @@ check_host_in_hostfile_by_key_or_type(const char *filename,
|
||||||
|
|
||||||
if (key == NULL) {
|
if (key == NULL) {
|
||||||
/* we found a key of the requested type */
|
/* we found a key of the requested type */
|
||||||
if (found->type == keytype)
|
if (found->type == keytype) {
|
||||||
|
fclose(f);
|
||||||
return HOST_FOUND;
|
return HOST_FOUND;
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue