git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 2.0 rc7
[linux-2.6.git]
/
sound
/
oss
/
gus_wave.c
diff --git
a/sound/oss/gus_wave.c
b/sound/oss/gus_wave.c
index
b1f5c8c
..
942d518
100644
(file)
--- a/
sound/oss/gus_wave.c
+++ b/
sound/oss/gus_wave.c
@@
-3126,8
+3126,7
@@
void __exit gus_wave_unload(struct address_info *hw_config)
if (hw_config->slots[5] != -1)
sound_unload_mixerdev(hw_config->slots[5]);
- if(samples)
- vfree(samples);
+ vfree(samples);
samples=NULL;
}
/* called in interrupt context */