diff options
author | 2009-01-30 22:23:30 +0000 | |
---|---|---|
committer | 2009-01-30 22:23:30 +0000 | |
commit | 8957b20dadfaa1394ab8e99e05c764fad9f7b192 (patch) | |
tree | 847e26bc28e492bd6422e6a2ab813487eb9d81b5 /usr.sbin/ospf6ctl/ospf6ctl.c | |
parent | when decreasing ssl related counters, make sure the session was flagged as (diff) | |
download | wireguard-openbsd-8957b20dadfaa1394ab8e99e05c764fad9f7b192.tar.xz wireguard-openbsd-8957b20dadfaa1394ab8e99e05c764fad9f7b192.zip |
Add missing free. Found by norby@ in ospfctl, same fix.
Diffstat (limited to 'usr.sbin/ospf6ctl/ospf6ctl.c')
-rw-r--r-- | usr.sbin/ospf6ctl/ospf6ctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospf6ctl/ospf6ctl.c b/usr.sbin/ospf6ctl/ospf6ctl.c index 7af43ebd260..eebcd058f07 100644 --- a/usr.sbin/ospf6ctl/ospf6ctl.c +++ b/usr.sbin/ospf6ctl/ospf6ctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6ctl.c,v 1.23 2009/01/29 20:09:02 stsp Exp $ */ +/* $OpenBSD: ospf6ctl.c,v 1.24 2009/01/30 22:23:30 stsp Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -1155,6 +1155,7 @@ show_rib_detail_msg(struct imsg *imsg) printf("%-15s %-12s %-7d %-7d\n", inet_ntoa(rt->adv_rtr), path_type_name(rt->p_type), rt->cost, rt->cost2); + free(dstnet); lasttype = RIB_EXT; break; |