Skip to content

Commit

Permalink
set NULL to userdata
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Jun 1, 2015
1 parent 1cb706f commit 86d4bf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2542,6 +2542,7 @@ mpc_ast_t *mpc_ast_new(const char *tag, const char *contents) {

a->children_num = 0;
a->children = NULL;
a->data = NULL;
return a;

}
Expand Down

0 comments on commit 86d4bf3

Please sign in to comment.