Skip to contentSkip to conversation

gus_wave.c - vfree() checking cleanups

PATCH New [email protected] 1 participant 1 message Jan 4, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 21/29 gus_wave.c - vfree() checking cleanups

gus_wave.c vfree() checking cleanups.

Signed-off by: James Lamanna <[email protected]>

 gus_wave.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)
sound/oss/gus_wave.c +1 -2
@@ -3126,8 +3126,7 @@
 	if (hw_config->slots[5] ! 		sound_unload_mixerdev(hw_config->slots[5]);
 	
-	if(samples)
-		vfree(samples);
+	vfree(samples);
 	samples }
 /* called in interrupt context */
 
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors