Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211838
b: refs/heads/master
c: 0c67b40
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Sep 13, 2010
1 parent ebdb4f4 commit cd97e21
Show file tree
Hide file tree
Showing 2 changed files with 4 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: cde8e88498c8de69271fcb6d4dd974979368fa67
refs/heads/master: 0c67b40872326a5340cab51d79a192a5fbaeb484
4 changes: 3 additions & 1 deletion trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -2150,7 +2150,9 @@ static void free_event(struct perf_event *event)
if (event->destroy)
event->destroy(event);

put_ctx(event->ctx);
if (event->ctx)
put_ctx(event->ctx);

call_rcu(&event->rcu_head, free_event_rcu);
}

Expand Down

0 comments on commit cd97e21

Please sign in to comment.