[ALSA] fix usbmixer double kfree
authorDave Jones <davej@redhat.com>
Mon, 6 Mar 2006 12:26:10 +0000 (13:26 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Mar 2006 09:35:19 +0000 (10:35 +0100)
commita2df813beab42740fa8043b3fdc9e1d15784b9ec
tree70b83d5edd48ad5a4649e7bb5a3bf3e8ab4fd07b
parent4fcf0117d599965a5916985c9923776628e16779
[ALSA] fix usbmixer double kfree

Modules: USB generic driver

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: Takashi Iwai <tiwai@suse.de>
sound/usb/usbmixer.c