| commit | 1a0442fce894dc09c50d882d9d19f8ed95977a3f | [log] [download] |
|---|---|---|
| author | Damien Miller <djm@mindrot.org> | Wed Nov 05 16:30:06 2008 +1100 |
| committer | Damien Miller <djm@mindrot.org> | Wed Nov 05 16:30:06 2008 +1100 |
| tree | ed2c6c31b41bbada49bde934fc97ecd3cab284d8 | |
| parent | 01ed2272a1545336173bf3aef66fbccc3494c8d8 [diff] |
- stevesk@cvs.openbsd.org 2008/11/04 19:18:00
[readconf.c]
because parse_forward() is now used to parse all forward types (DLR),
and it malloc's space for host variables, we don't need to malloc
here. fixes small memory leaks.
previously dynamic forwards were not parsed in parse_forward() and
space was not malloc'd in that case.
ok djm@