diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-10-07 19:48:08 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-10-07 19:48:08 +0000 |
commit | 432bbca41b5fa6fd86845d55a3fff5536360b1b0 (patch) | |
tree | a29334c8088a875cb6a534f5f6d9b0a5027ff688 /usr.bin | |
parent | 5aad846d0e33bb5acfbe0f803decfe15a7878802 (diff) |
missing free(). Andrey Matveev via deraadt@. ok deraadt@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/route.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index 30a63053806..f9af35199ae 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.59 2003/10/04 23:15:06 deraadt Exp $ */ +/* $OpenBSD: route.c,v 1.60 2003/10/07 19:48:07 tedu Exp $ */ /* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94"; #else -static char *rcsid = "$OpenBSD: route.c,v 1.59 2003/10/04 23:15:06 deraadt Exp $"; +static char *rcsid = "$OpenBSD: route.c,v 1.60 2003/10/07 19:48:07 tedu Exp $"; #endif #endif /* not lint */ @@ -405,6 +405,7 @@ ntreestuff(void) rtm = (struct rt_msghdr *)next; np_rtentry(rtm); } + free(buf); } static void |