summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfctl/ospfctl.c
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2009-01-30 12:43:19 +0000
committerEsben Norby <norby@cvs.openbsd.org>2009-01-30 12:43:19 +0000
commit85075899515eafdfb846a7b43b7bc1f2601bbf4b (patch)
tree9c503d919cd347dab6a5d3e42beeed15c765fcaf /usr.sbin/ospfctl/ospfctl.c
parent23c1ba731bf4346883cd4a78ad038353f05eeaf6 (diff)
Add missing free.
OK claudio@
Diffstat (limited to 'usr.sbin/ospfctl/ospfctl.c')
-rw-r--r--usr.sbin/ospfctl/ospfctl.c3
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;