mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- dtucker@cvs.openbsd.org 2013/06/05 22:00:28
[readconf.c] plug another memleak. bz#1967, from Zhenbo Xu, detected by Melton, ok djm
This commit is contained in:
parent
e52a260f16
commit
408eaf3ab7
@ -43,6 +43,9 @@
|
|||||||
- dtucker@cvs.openbsd.org 2013/06/05 12:52:38
|
- dtucker@cvs.openbsd.org 2013/06/05 12:52:38
|
||||||
[sshconnect2.c]
|
[sshconnect2.c]
|
||||||
Fix memory leaks found by Zhenbo Xu and the Melton tool. bz#1967, ok djm
|
Fix memory leaks found by Zhenbo Xu and the Melton tool. bz#1967, ok djm
|
||||||
|
- dtucker@cvs.openbsd.org 2013/06/05 22:00:28
|
||||||
|
[readconf.c]
|
||||||
|
plug another memleak. bz#1967, from Zhenbo Xu, detected by Melton, ok djm
|
||||||
|
|
||||||
20130602
|
20130602
|
||||||
- (tim) [Makefile.in] Make Solaris, UnixWare, & OpenServer linkers happy
|
- (tim) [Makefile.in] Make Solaris, UnixWare, & OpenServer linkers happy
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: readconf.c,v 1.202 2013/05/17 00:13:14 djm Exp $ */
|
/* $OpenBSD: readconf.c,v 1.203 2013/06/05 22:00:28 dtucker Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -820,6 +820,8 @@ parse_int:
|
|||||||
else if (opcode == oRemoteForward)
|
else if (opcode == oRemoteForward)
|
||||||
add_remote_forward(options, &fwd);
|
add_remote_forward(options, &fwd);
|
||||||
}
|
}
|
||||||
|
free(fwd.connect_host);
|
||||||
|
free(fwd.listen_host);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case oClearAllForwardings:
|
case oClearAllForwardings:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user