summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2009-01-09 20:38:21 +0000
committerAlexander Motin <mav@FreeBSD.org>2009-01-09 20:38:21 +0000
commit81b0f8181bbdfc3a839c495390c7561a71764342 (patch)
treedb6f5dc9a192fe0c7055bdc2678bf6284a8f7faa
parent05d396603d5ecf557536d842f5aab91ac3282410 (diff)
Notes
-rw-r--r--sys/netgraph/ng_base.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index b2c209461c99..2c44a96e6e19 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -2847,8 +2847,7 @@ ng_generic_msg(node_p here, item_p item, hook_p lasthook)
*/
out:
NG_RESPOND_MSG(error, here, item, resp);
- if (msg)
- NG_FREE_MSG(msg);
+ NG_FREE_MSG(msg);
return (error);
}