staging: tm6000: fix memory leak
authorKulikov Vasiliy <segooon@gmail.com>
Wed, 11 Aug 2010 08:01:19 +0000 (12:01 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 31 Aug 2010 21:51:52 +0000 (14:51 -0700)
commitcd6541c03d0777963615d00b22ff8a4c8ee8d601
tree3b79895f6dd8b9c31746fe9501b2d95694ac0ae0
parentc2c6a66a51da4d7311aa4508c1cd56c2397cf708
staging: tm6000: fix memory leak

Original code doesn't call kfree(chip) on error.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/tm6000/tm6000-alsa.c