From 22e429d682647432bb746220b22269901b8c13ff Mon Sep 17 00:00:00 2001 From: Mariusz Kozlowski Date: Mon, 8 Jan 2007 11:25:30 +0100 Subject: [PATCH] --- yaml --- r: 45421 b: refs/heads/master c: 7fbe3ca571e4b0795b729658e3d76824be54cb18 h: refs/heads/master i: 45419: 4b3068e25d0b7fc8e2c73b5338337ac3ec6ce8f7 v: v3 --- [refs] | 2 +- trunk/sound/usb/usbmixer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 3d04e6ff011d..927244a11947 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8c670714223d58086695d007b76b3e3ead54e4f5 +refs/heads/master: 7fbe3ca571e4b0795b729658e3d76824be54cb18 diff --git a/trunk/sound/usb/usbmixer.c b/trunk/sound/usb/usbmixer.c index e74eb1bc8d87..7b3bf3545a3b 100644 --- a/trunk/sound/usb/usbmixer.c +++ b/trunk/sound/usb/usbmixer.c @@ -1526,7 +1526,7 @@ static int parse_audio_selector_unit(struct mixer_build *state, int unitid, unsi namelist[i] = kmalloc(MAX_ITEM_NAME_LEN, GFP_KERNEL); if (! namelist[i]) { snd_printk(KERN_ERR "cannot malloc\n"); - while (--i > 0) + while (i--) kfree(namelist[i]); kfree(namelist); kfree(cval);