[PATCH] fix memory leak in dma_declare_coherent_memory()
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Thu, 1 Mar 2007 04:13:51 +0000 (20:13 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 1 Mar 2007 22:53:39 +0000 (14:53 -0800)
commit3a0ee2ce8cc4f962031d7520df960431c2f26a9c
tree1e3ede5fa99185d326c0b5644a6b55358c39184d
parent17f0cd2f350b90b28301e27fe0e39f34bfe7e730
[PATCH] fix memory leak in dma_declare_coherent_memory()

When it goes to free1_out, dev->dma_mem has not been freed.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/cris/arch-v32/drivers/pci/dma.c
arch/i386/kernel/pci-dma.c