Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243648
b: refs/heads/master
c: fd1edb3
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Mar 31, 2011
1 parent 269b010 commit adf20fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab711fe08297de1485fff0a366e6db8828cafd6a
refs/heads/master: fd1edb3aa2c1d92618d8f0c6d15d44ea41fcac6a
5 changes: 5 additions & 0 deletions trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -6531,6 +6531,11 @@ SYSCALL_DEFINE5(perf_event_open,
goto err_alloc;
}

if (task) {
put_task_struct(task);
task = NULL;
}

/*
* Look up the group leader (we will attach this event to it):
*/
Expand Down

0 comments on commit adf20fc

Please sign in to comment.