perfcounters: fix refcounting bug, take 2
authorPaul Mackerras <paulus@samba.org>
Wed, 11 Feb 2009 12:53:19 +0000 (13:53 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Feb 2009 13:08:44 +0000 (14:08 +0100)
Only free child_counter if it has a parent; if it doesn't, then it
has a file pointing to it and we'll free it in perf_release.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found