caif: Fix memory leakage in the chnl_net.c.
authorTomasz Gregorek <tomasz.gregorek@stericsson.com>
Thu, 12 Apr 2012 08:18:07 +0000 (08:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 15:01:44 +0000 (11:01 -0400)
commit5c699fb7d88d360023f3b3f5291cbf5b59883a1b
treea9b6b8d502fd4d2e1487a207d3200df8764ec9fa
parentc9be48dc8bb22f1f6e6ff1560b2b28e925a0b815
caif: Fix memory leakage in the chnl_net.c.

Added kfree_skb() calls in the chnk_net.c file on
the error paths.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/chnl_net.c