Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147208
b: refs/heads/master
c: 65d3708
h: refs/heads/master
v: v3
  • Loading branch information
Mike Galbraith authored and Ingo Molnar committed Jan 29, 2009
1 parent c24fd6d commit f4076e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb3f0b59ad005d2d2ecbbe9bd048eab6d1ecbd31
refs/heads/master: 65d370862f64973611a271ced61864b5f9bb6fc0
3 changes: 2 additions & 1 deletion trunk/kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1934,7 +1934,8 @@ __perf_counter_exit_task(struct task_struct *child,
}
}

kfree(child_counter);
if (!child_counter->filp || !atomic_long_read(&child_counter->filp->f_count))
kfree(child_counter);
}

/*
Expand Down

0 comments on commit f4076e1

Please sign in to comment.