Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175432
b: refs/heads/master
c: 5660ce3
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Ingo Molnar committed Dec 10, 2009
1 parent 36db7d6 commit 383cf90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 21140f4d3387aa2213f1deea0128df1dbf924379
refs/heads/master: 5660ce34241ab204bf78fbcaa5e09318c2748d37
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/probe-event.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ static void clear_probe_point(struct probe_point *pp)
free(pp->args);
for (i = 0; i < pp->found; i++)
free(pp->probes[i]);
memset(pp, 0, sizeof(pp));
memset(pp, 0, sizeof(*pp));
}

/* Show an event */
Expand Down
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/trace-event-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ process_fields(struct event *event, struct print_flag_sym **list, char **tok)
goto out_free;

field = malloc_or_die(sizeof(*field));
memset(field, 0, sizeof(field));
memset(field, 0, sizeof(*field));

value = arg_eval(arg);
field->value = strdup(value);
Expand Down

0 comments on commit 383cf90

Please sign in to comment.