diff options
-rw-r--r-- | sbin/ipsecctl/ipsecctl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/ipsecctl/ipsecctl.c b/sbin/ipsecctl/ipsecctl.c index 232c37dc56f..c0a5cd1dc23 100644 --- a/sbin/ipsecctl/ipsecctl.c +++ b/sbin/ipsecctl/ipsecctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecctl.c,v 1.34 2005/11/13 18:28:03 hshoexer Exp $ */ +/* $OpenBSD: ipsecctl.c,v 1.35 2005/11/21 09:52:22 hshoexer Exp $ */ /* * Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org> * @@ -366,6 +366,8 @@ ipsecctl_get_rules(struct ipsecctl *ipsec) ipsecctl_add_rule(ipsec, rule); } + + free(buf); } void @@ -457,6 +459,8 @@ ipsecctl_show_sas(int opts) break; pfkey_print_sa(msg, opts); } + + free(buf); } __dead void |