diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-06-06 08:22:46 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-06-06 08:22:46 +1000 |
commit | 408eaf3ab716096f8faf30f091bd54a2c7a17a09 (patch) | |
tree | ccc73e58720d6f62dd88ddb205a63f3afeb8c1e5 /readconf.c | |
parent | e52a260f16888ca75390f97de4606943e61785e8 (diff) | |
download | openssh-git-408eaf3ab716096f8faf30f091bd54a2c7a17a09.tar.gz |
- 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
Diffstat (limited to 'readconf.c')
-rw-r--r-- | readconf.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -820,6 +820,8 @@ parse_int: else if (opcode == oRemoteForward) add_remote_forward(options, &fwd); } + free(fwd.connect_host); + free(fwd.listen_host); break; case oClearAllForwardings: |