sh: fix seq_file memory leak
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 24 Jun 2008 05:30:23 +0000 (13:30 +0800)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:27 +0000 (18:10 +0900)
commit45dabf1427a0a876f733b07239ade1bdb0e06010
tree0bcec487028dcb802a5c2ccf0e790f5b48745bac
parentc9272c4f9fbe2087beb3392f526dc5b19efaa56b
sh: fix seq_file memory leak

When using single_open(), single_release() should be used instead
of seq_release(), otherwise there is a memory leak.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache-debugfs.c
arch/sh/mm/pmb.c