[patch 11/11] pss.c - vfree() checking cleanups

From: domen
Date: Tue Jan 11 2005 - 18:55:49 EST




pss.c vfree() checking cleanups.

Signed-off by: James Lamanna <jlamanna@xxxxxxxxx>


Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
---


kj-domen/sound/oss/pss.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN sound/oss/pss.c~vfree-sound_oss_pss sound/oss/pss.c
--- kj/sound/oss/pss.c~vfree-sound_oss_pss 2005-01-10 18:01:08.000000000 +0100
+++ kj-domen/sound/oss/pss.c 2005-01-10 18:01:08.000000000 +0100
@@ -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);
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/