Skip to contentSkip to conversation

pss.c - vfree() checking cleanups

PATCH In review [email protected] 1 participant 1 message Jan 10, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 pss.c - vfree() checking cleanups

pss.c vfree() checking cleanups.

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

---

 kj-domen/sound/oss/pss.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
sound/oss/pss.c renamed from sound/oss/pss.c~vfree-sound_oss_pss +1 -1
diff -puN sound/oss/pss.c~vfree-sound_oss_pss sound/oss/pss.c
@@ -1242,7 +1242,7 @@ static void __exit cleanup_pss(void)
 {
 	if(!pss_no_sound)
 	{
-		if(fw_load && pss_synth)
+		if(fw_load)
 			vfree(pss_synth);
 		if(pssmss)
 			unload_pss_mss(&cfg2);

_

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt