]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
latencytop: fix memory leak on latency proc file
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Thu, 14 Feb 2008 18:27:00 +0000 (10:27 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 25 Feb 2008 15:34:17 +0000 (16:34 +0100)
commitd6643d12cb0885d06a1491b16c1476abcbd53d40
treef342c01a278486e47a973cc84ffac72c43b57c64
parentae0027869db7d28563cd783865fab04ffd18419c
latencytop: fix memory leak on latency proc file

At lstats_open(), calling get_proc_task() gets task struct, but it never put.
put_task_struct() should be called when releasing.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
fs/proc/base.c