]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[ALSA] fix usbmixer double kfree
authorDave Jones <davej@redhat.com>
Thu, 14 Dec 2006 23:40:39 +0000 (00:40 +0100)
committerAdrian Bunk <bunk@stusta.de>
Thu, 14 Dec 2006 23:40:39 +0000 (00:40 +0100)
commitea09f457941054d56297f94930020bcfbbd0b772
tree2408248765f99a5e4a0e0c320282ba272d9f60e8
parent7819bfbbad648b4f97a07932b9383eb3a2c3f39c
[ALSA] fix usbmixer double kfree

snd_ctl_add() kfree's the kcontrol already if we fail there,
so this driver is currently doing a double kfree.

Coverity bug #959

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
sound/usb/usbmixer.c