diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2009-01-30 12:43:19 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2009-01-30 12:43:19 +0000 |
commit | 85075899515eafdfb846a7b43b7bc1f2601bbf4b (patch) | |
tree | 9c503d919cd347dab6a5d3e42beeed15c765fcaf /usr.sbin/ospfctl/ospfctl.c | |
parent | 23c1ba731bf4346883cd4a78ad038353f05eeaf6 (diff) |
Add missing free.
OK claudio@
Diffstat (limited to 'usr.sbin/ospfctl/ospfctl.c')
-rw-r--r-- | usr.sbin/ospfctl/ospfctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c index cacf8ff6895..53a8bf870bd 100644 --- a/usr.sbin/ospfctl/ospfctl.c +++ b/usr.sbin/ospfctl/ospfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfctl.c,v 1.44 2009/01/02 00:09:53 claudio Exp $ */ +/* $OpenBSD: ospfctl.c,v 1.45 2009/01/30 12:43:18 norby Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -1079,6 +1079,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; |