4 Sep
2007
4 Sep
'07
9:15 p.m.
From: Krzysztof Helt krzysztof.h1@wp.pl
The chip structure is now allocated by snd_card_new() and it must not be released by separate kfree().
Signed-off-by: Krzysztof Helt krzysztof.h1@wp.pl ---
This bug was introduced by the previous patch.
--- linux-2.6.23.ref/sound/sparc/cs4231.c 2007-09-03 16:03:46.000000000 +0200 +++ linux-2.6.23/sound/sparc/cs4231.c 2007-09-04 18:02:34.000000000 +0200 @@ -1865,8 +1865,6 @@ static int snd_cs4231_sbus_free(struct s if (chip->port) sbus_iounmap(chip->port, chip->regs_size);
- kfree(chip); - return 0; }
@@ -2037,8 +2035,6 @@ static int snd_cs4231_ebus_free(struct s if (chip->port) iounmap(chip->port);
- kfree(chip); - return 0; }