diff options
| -rw-r--r-- | sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h b/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h index 46794974cd656..ad97107e04c2c 100644 --- a/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h +++ b/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h @@ -73,6 +73,7 @@ do { \ #define ng_l2cap_free_cmd(cmd) \ do { \ + KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \ NG_FREE_M((cmd)->aux); \ bzero((cmd), sizeof(*(cmd))); \ FREE((cmd), M_NETGRAPH_L2CAP); \ |
