diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/moduleobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c index ae01651..7f81ce4 100644 --- a/Objects/moduleobject.c +++ b/Objects/moduleobject.c @@ -113,6 +113,7 @@ PyModule_Create2(struct PyModuleDef* module, int module_api_version) Py_DECREF(m); return NULL; } + memset(m->md_state, 0, module->m_size); } d = PyModule_GetDict((PyObject*)m); |