OSDN Git Service

wlcore: fix a couple small memory leaks
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 30 Jun 2012 12:07:55 +0000 (15:07 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jul 2012 16:10:15 +0000 (12:10 -0400)
commitf7ace5f044295a06a26cd1b4c176b011b0297ac4
tree93ef719ee1f8603b6dfb74f6360f3614e7b087b8
parent0344dcd3b50f68bb79473d00e46c5fd503c21039
wlcore: fix a couple small memory leaks

We should free "chunk" here before returning the error code.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/boot.c