summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfctl
diff options
context:
space:
mode:
authornorby <norby@openbsd.org>2009-01-30 12:43:18 +0000
committernorby <norby@openbsd.org>2009-01-30 12:43:18 +0000
commit1c1dafb49685536c5eba050e933bbed485120ab6 (patch)
treec436cbfe7ad27d0a2f8c6ed1bfeccfe483ac35a1 /usr.sbin/ospfctl
parentMark routers internal as uninstalled after deleting the default route. (diff)
downloadwireguard-openbsd-1c1dafb49685536c5eba050e933bbed485120ab6.tar.xz
wireguard-openbsd-1c1dafb49685536c5eba050e933bbed485120ab6.zip
Add missing free.
OK claudio@
Diffstat (limited to 'usr.sbin/ospfctl')
-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;