Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312319
b: refs/heads/master
c: 50d8f9e
h: refs/heads/master
i:
  312317: d71d975
  312315: ed1475e
  312311: 422d71a
  312303: 4e08226
  312287: 65c7439
  312255: 04ed2d1
  312191: 8a56910
  312063: 3a21233
  311807: 052eac7
  311295: de55070
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed Jun 29, 2012
1 parent e1b0e4a commit 30705be
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: e080e6f1c863242ff709046d0486d09c46dc484a
refs/heads/master: 50d8f9e393c5a1a8864fda75e3a9f2b800497a61
4 changes: 3 additions & 1 deletion trunk/tools/lib/traceevent/event-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,9 @@ static struct event_format *alloc_event(void)
{
struct event_format *event;

event = malloc_or_die(sizeof(*event));
event = malloc(sizeof(*event));
if (!event)
return NULL;
memset(event, 0, sizeof(*event));

return event;
Expand Down

0 comments on commit 30705be

Please sign in to comment.