Skip to content

Commit

Permalink
Initialze jl_datatype_t::haspadding. Fix #13331
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Sep 27, 2015
1 parent 288686d commit 77c13b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ jl_datatype_t *jl_new_uninitialized_datatype(size_t nfields,
// corruption otherwise.
t->fielddesc_type = fielddesc_type;
t->nfields = nfields;
t->haspadding = 0;
return t;
}

Expand Down

0 comments on commit 77c13b0

Please sign in to comment.