gus_wave.c - vfree() checking cleanups
PATCH 10/11 gus_wave.c - vfree() checking cleanups
gus_wave.c vfree() checking cleanups.
Signed-off by: James Lamanna <[email protected]>
Signed-off-by Domen Puncer <[email protected]>
---
kj-domen/sound/oss/gus_wave.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-)
sound/oss/gus_wave.c renamed from sound/oss/gus_wave.c~vfree-sound_oss_gus_wave +1 -2
@@ -3126,8 +3126,7 @@ void __exit gus_wave_unload(struct addreif (hw_config->slots[5 ] !=-1 )sound_unload_mixerdev (hw_config->slots[5 ]); -if (samples) -vfree (samples); +vfree (samples); samples=NULL ; }/* called in interrupt context */
_