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>
This commit is contained in:
Li Zefan 2008-06-24 13:30:23 +08:00 • committed by Paul Mundt
commit 45dabf1427
2 changed files with 2 additions and 2 deletions