Use NG_FREE_MSG() instead of FREE().
This commit is contained in:
parent
d06ecced73
commit
39a105ba4c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user