From: Krzysztof Helt <krzysztof.h1@xxxxx> 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@xxxxx> --- 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; } _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel