Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/usr.bin/netstat Pull up following revision(s) (requested ...
details: https://anonhg.NetBSD.org/src/rev/38cd871d42f0
branches: netbsd-6
changeset: 775596:38cd871d42f0
user: snj <snj%NetBSD.org@localhost>
date: Tue Dec 25 21:07:04 2012 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #763):
usr.bin/netstat/bpf.c: revision 1.11
Fix memory leak.
diffstat:
usr.bin/netstat/bpf.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 44f1d128faf0 -r 38cd871d42f0 usr.bin/netstat/bpf.c
--- a/usr.bin/netstat/bpf.c Tue Dec 25 21:01:14 2012 +0000
+++ b/usr.bin/netstat/bpf.c Tue Dec 25 21:07:04 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bpf.c,v 1.10 2010/12/13 21:15:30 pooka Exp $ */
+/* $NetBSD: bpf.c,v 1.10.8.1 2012/12/25 21:07:04 snj Exp $ */
/*
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -167,6 +167,7 @@
printf("%s\n", p.p_comm);
#undef BPFEXT
}
+ free(v);
} else {
/* XXX */
errx(1, "bpf_dump not implemented using kvm");
Home |
Main Index |
Thread Index |
Old Index