Skip to content

Commit

Permalink
init parent to NULL in jl_new_module. ref #9661
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jan 8, 2015
1 parent 274b89a commit 23424b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jl_module_t *jl_new_module(jl_sym_t *name)
m->type = (jl_value_t*)jl_module_type;
assert(jl_is_symbol(name));
m->name = name;
m->parent = NULL;
m->constant_table = NULL;
m->call_func = NULL;
htable_new(&m->bindings, 0);
Expand Down

0 comments on commit 23424b7

Please sign in to comment.