Free the rules in the rule_queue also if ipsecctl is called with
authorbluhm <bluhm@openbsd.org>
Mon, 21 Jul 2008 14:37:53 +0000 (14:37 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 21 Jul 2008 14:37:53 +0000 (14:37 +0000)
commitc272c54f207e2529016fe97edd74f93f889c005d
treea4b73b09cee6f3bac2213053c1cdb16e667de329
parente5499f78036a75ae96c79eb5dd382e3b89e1da30
Free the rules in the rule_queue also if ipsecctl is called with
the -n switch.  This triggers malloc related bugs during the regress
tests.
ok hshoexer
sbin/ipsecctl/ipsecctl.c