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>
This commit is contained in:
Dan Carpenter 2012-06-30 15:07:55 +03:00 • committed by John W. Linville
commit f7ace5f044