patch-2.4.4 linux/drivers/sound/sound_core.c
Next file: linux/drivers/sound/trident.c
Previous file: linux/drivers/sound/sonicvibes.c
Back to the patch index
Back to the overall index
-  Lines: 12
-  Date:
Fri Apr  6 10:51:19 2001
-  Orig file: 
v2.4.3/linux/drivers/sound/sound_core.c
-  Orig date: 
Fri Feb  9 11:30:23 2001
diff -u --recursive --new-file v2.4.3/linux/drivers/sound/sound_core.c linux/drivers/sound/sound_core.c
@@ -168,7 +168,11 @@
 	spin_unlock(&sound_loader_lock);
 	
 	if(r<0)
+	{
 		kfree(s);
+		return r;
+	}
+	
 	if (r == low)
 		sprintf (name_buf, "%s", name);
 	else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)