diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2001-01-11 15:44:41 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2001-01-11 15:44:41 +0000 |
| commit | cdbfe12417e4a8800646d9d214b2de2bc6a71ab7 (patch) | |
| tree | 511a295d215821fdce2f8f059f374c1a404bab1a /sys/netgraph/ng_bpf.c | |
| parent | bfbdd08421329679a3bf5128fe8128bdd5d7b8db (diff) | |
Notes
Diffstat (limited to 'sys/netgraph/ng_bpf.c')
| -rw-r--r-- | sys/netgraph/ng_bpf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netgraph/ng_bpf.c b/sys/netgraph/ng_bpf.c index 5a2b84dc7cc5..fb52093d0fbe 100644 --- a/sys/netgraph/ng_bpf.c +++ b/sys/netgraph/ng_bpf.c @@ -361,10 +361,8 @@ ng_bpf_rcvmsg(node_p node, item_p item, hook_p lasthook) error = EINVAL; break; } - NG_RESPOND_MSG(error, node, item, resp); done: - if (item) - NG_FREE_ITEM(item); + NG_RESPOND_MSG(error, node, item, resp); NG_FREE_MSG(msg); return (error); } |
