patch-2.4.0-test5 linux/drivers/sound/esssolo1.c

Next file: linux/drivers/sound/maestro.c
Previous file: linux/drivers/sound/es1371.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/sound/esssolo1.c linux/drivers/sound/esssolo1.c
@@ -2321,7 +2321,7 @@
  err_region2:
 	release_region(s->mpubase, MPUBASE_EXTENT);
  err_region1:
-	kfree_s(s, sizeof(struct solo1_state));
+	kfree(s);
 	return -1;
 }
 
@@ -2347,7 +2347,7 @@
 	unregister_sound_mixer(s->dev_mixer);
 	unregister_sound_midi(s->dev_midi);
 	unregister_sound_special(s->dev_dmfm);
-	kfree_s(s, sizeof(struct solo1_state));
+	kfree(s);
 	dev->driver_data = NULL;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)