summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sockstat/sockstat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/sockstat/sockstat.c b/usr.bin/sockstat/sockstat.c
index 87deb73..3aa3e0d 100644
--- a/usr.bin/sockstat/sockstat.c
+++ b/usr.bin/sockstat/sockstat.c
@@ -279,7 +279,6 @@ gather_inet(int proto)
} else {
if (opt_v)
warnx("invalid vflag 0x%x", inp->inp_vflag);
- free(sock);
continue;
}
if ((sock = calloc(1, sizeof *sock)) == NULL)
OpenPOWER on IntegriCloud