summaryrefslogtreecommitdiff
path: root/drivers/net/wimax/i2400m/op-rfkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wimax/i2400m/op-rfkill.c')
-rw-r--r--drivers/net/wimax/i2400m/op-rfkill.c1
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 6642bcb27761..8efb493ceec2 100644
--- a/drivers/net/wimax/i2400m/op-rfkill.c
+++ b/drivers/net/wimax/i2400m/op-rfkill.c
@@ -127,6 +127,7 @@ int i2400m_op_rfkill_sw_toggle(struct wimax_dev *wimax_dev,
"%d\n", result);
result = 0;
error_cmd:
+ kfree(cmd);
kfree_skb(ack_skb);
error_msg_to_dev:
error_alloc: