diff --git a/sys/pci/if_mn.c b/sys/pci/if_mn.c index 84053f3e0610..10123efdcc2d 100644 --- a/sys/pci/if_mn.c +++ b/sys/pci/if_mn.c @@ -368,7 +368,7 @@ ngmn_rcvmsg(node_p node, item_p item, hook_p lasthook) ngmn_config(node, s, r); resp->header.arglen = strlen(r) + 1; NG_RESPOND_MSG(i, node, item, resp); - FREE(msg, M_NETGRAPH); + NG_FREE_MSG(msg); return (0); } pos = 0;