Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182306
b: refs/heads/master
c: 7b60997
h: refs/heads/master
v: v3
  • Loading branch information
Wenji Huang authored and Steven Rostedt committed Feb 25, 2010
1 parent bcf93df commit 0fcc833
Show file tree
Hide file tree
Showing 2 changed files with 2 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: c85f3a91f84d5a85f179c2504bb7a39370c82b41
refs/heads/master: 7b60997f73865b019e595720185c85285ca3df9a
4 changes: 1 addition & 3 deletions trunk/kernel/trace/trace_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@ int trace_define_field(struct ftrace_event_call *call, const char *type,
return 0;

err:
if (field) {
if (field)
kfree(field->name);
kfree(field->type);
}
kfree(field);

return -ENOMEM;
Expand Down

0 comments on commit 0fcc833

Please sign in to comment.