Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304979
b: refs/heads/master
c: a2525a0
h: refs/heads/master
i:
  304977: 9ca47c7
  304975: 99b5879
v: v3
  • Loading branch information
Steven Rostedt authored and Frederic Weisbecker committed Apr 25, 2012
1 parent aed29e3 commit 8833362
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 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: 14ffde0e966efab6724e2de3ab470b78d4e01109
refs/heads/master: a2525a0852d81b1cf1155d75d1e3db9682fee191
13 changes: 10 additions & 3 deletions trunk/tools/lib/traceevent/event-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -4960,13 +4960,20 @@ static void free_event(struct event_format *event)
*/
void pevent_free(struct pevent *pevent)
{
struct cmdline_list *cmdlist = pevent->cmdlist, *cmdnext;
struct func_list *funclist = pevent->funclist, *funcnext;
struct printk_list *printklist = pevent->printklist, *printknext;
struct cmdline_list *cmdlist, *cmdnext;
struct func_list *funclist, *funcnext;
struct printk_list *printklist, *printknext;
struct pevent_function_handler *func_handler;
struct event_handler *handle;
int i;

if (!pevent)
return;

cmdlist = pevent->cmdlist;
funclist = pevent->funclist;
printklist = pevent->printklist;

pevent->ref_count--;
if (pevent->ref_count)
return;
Expand Down

0 comments on commit 8833362

Please sign in to comment.