Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309413
b: refs/heads/master
c: b3511d0
h: refs/heads/master
i:
  309411: 8542301
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed May 24, 2012
1 parent f559b24 commit a77e9e2
Show file tree
Hide file tree
Showing 2 changed files with 5 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: d1de10870909a27ce2ac380d0671feb308826491
refs/heads/master: b3511d0530c7a2b4fa64d1f5218c5f073ae7b543
7 changes: 4 additions & 3 deletions trunk/tools/lib/traceevent/event-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -2300,17 +2300,18 @@ process_dynamic_array(struct event_format *event, struct print_arg *arg, char **
arg = alloc_arg();
type = process_arg(event, arg, &token);
if (type == EVENT_ERROR)
goto out_free;
goto out_free_arg;

if (!test_type_token(type, token, EVENT_OP, "]"))
goto out_free;
goto out_free_arg;

free_token(token);
type = read_token_item(tok);
return type;

out_free_arg:
free_arg(arg);
out_free:
free(arg);
free_token(token);
*tok = NULL;
return EVENT_ERROR;
Expand Down

0 comments on commit a77e9e2

Please sign in to comment.