diff options
author | norby <norby@openbsd.org> | 2009-01-30 12:43:18 +0000 |
---|---|---|
committer | norby <norby@openbsd.org> | 2009-01-30 12:43:18 +0000 |
commit | 1c1dafb49685536c5eba050e933bbed485120ab6 (patch) | |
tree | c436cbfe7ad27d0a2f8c6ed1bfeccfe483ac35a1 /usr.sbin/ospfctl | |
parent | Mark routers internal as uninstalled after deleting the default route. (diff) | |
download | wireguard-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.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; |