aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector/cn_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/connector/cn_queue.c')
-rw-r--r--drivers/connector/cn_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/connector/cn_queue.c b/drivers/connector/cn_queue.c
index 163c3e3d0d11..210338ea222f 100644
--- a/drivers/connector/cn_queue.c
+++ b/drivers/connector/cn_queue.c
@@ -83,8 +83,8 @@ void cn_queue_wrapper(struct work_struct *work)
83 83
84 d->callback(msg, nsp); 84 d->callback(msg, nsp);
85 85
86 d->destruct_data(d->ddata); 86 kfree_skb(d->skb);
87 d->ddata = NULL; 87 d->skb = NULL;
88 88
89 kfree(d->free); 89 kfree(d->free);
90} 90}