ASoC: wm_adsp: memory leak in wm_adsp_create_control()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 May 2013 12:02:44 +0000 (15:02 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 14 May 2013 12:39:59 +0000 (16:39 +0400)
commit9dbce04402e33e362e3e946c437bc70b8102a95d
treed4606f2b17771f27bbf3e2e3f67f91b6c0acd5a8
parent6ab2b7b415441fa46357bef883e1ead086de1387
ASoC: wm_adsp: memory leak in wm_adsp_create_control()

There are two return paths which don't kfree(name).

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm_adsp.c