On Wed, 2011-01-26 at 09:53 -0800, Doug Kehn wrote: > Free allocated cmd structure in i2400m_op_rfkill_sw_toggle before > exiting. > > Signed-off-by: Doug Kehn <rdkehn at yahoo.com> > --- > drivers/net/wimax/i2400m/op-rfkill.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/net/wimax/i2400m/op-rfkill.c b/drivers/net/wimax/i2400m/op-rfkill.c > index 232bd42..31542c9 100644 > --- a/drivers/net/wimax/i2400m/op-rfkill.c > +++ b/drivers/net/wimax/i2400m/op-rfkill.c > @@ -144,6 +144,7 @@ int i2400m_op_rfkill_sw_toggle(struct wimax_dev *wimax_dev, > error_cmd: > kfree_skb(ack_skb); > error_msg_to_dev: > + kfree(cmd); > error_alloc: > d_fnend(4, dev, "(wimax_dev %p state %d) = %d\n", > wimax_dev, state, result); Gee, you would think I run leak tests ... well, not this case. Merged, thank you!