aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/usb/usbmixer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/usbmixer.c b/sound/usb/usbmixer.c
index 0bfea7237395..8d08b34a1cb5 100644
--- a/sound/usb/usbmixer.c
+++ b/sound/usb/usbmixer.c
@@ -1468,6 +1468,7 @@ static int parse_audio_selector_unit(struct mixer_build *state, int unitid, unsi
1468 kctl = snd_ctl_new1(&mixer_selectunit_ctl, cval); 1468 kctl = snd_ctl_new1(&mixer_selectunit_ctl, cval);
1469 if (! kctl) { 1469 if (! kctl) {
1470 snd_printk(KERN_ERR "cannot malloc kcontrol\n"); 1470 snd_printk(KERN_ERR "cannot malloc kcontrol\n");
1471 kfree(namelist);
1471 kfree(cval); 1472 kfree(cval);
1472 return -ENOMEM; 1473 return -ENOMEM;
1473 } 1474 }