[PATCH] OSS: Fix leak in awe_wave, also remove pointless cast.
authorJesper Juhl <jesper.juhl@gmail.com>
Sat, 25 Mar 2006 11:08:11 +0000 (03:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:23:00 +0000 (08:23 -0800)
commitbda44e1d168ac76fce5183eb141592fc645c7818
treed6467cd1b7062f18e3366586637e46adc1ba43e4
parent96a9b4d31eba4722ba7aad2cc15118a7799f499f
[PATCH] OSS: Fix leak in awe_wave, also remove pointless cast.

Fix resource leak and remove pointless cast of kmalloc return value.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/oss/awe_wave.c