Skip to content

Commit

Permalink
Fix a crash in map constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Jun 8, 2018
1 parent cc6a62c commit fa0d0c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions immutables/_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -2455,6 +2455,7 @@ map_alloc(void)
o->h_weakreflist = NULL;
o->h_hash = -1;
o->h_count = 0;
o->h_root = NULL;
PyObject_GC_Track(o);
return o;
}
Expand Down

0 comments on commit fa0d0c2

Please sign in to comment.