mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
perfcounters: fix refcounting bug, take 2
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>
This commit is contained in:
parent
5af759176c
commit
4bcf349a0f
1 changed files with 4 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue