From fa0d0c2b963b14fd9c2a0ce5969c0906ead590d7 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Thu, 7 Jun 2018 20:23:09 -0400 Subject: Fix a crash in map constructor More details in https://bugs.python.org/issue33803 --- immutables/_map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/immutables/_map.c b/immutables/_map.c index d0a5642..8eedd56 100644 --- a/immutables/_map.c +++ b/immutables/_map.c @@ -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; } -- cgit v1.2.3