We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8139ff commit e1aaf45Copy full SHA for e1aaf45
Modules/_ctypes/stgdict.c
@@ -40,7 +40,7 @@ PyCStgInfo_clone(StgInfo *dst_info, StgInfo *src_info)
40
Py_XINCREF(dst_info->converters);
41
Py_XINCREF(dst_info->restype);
42
Py_XINCREF(dst_info->checker);
43
- Py_XINCREF(dst_info->pointer_type);
+ dst_info->pointer_type = NULL; // the cache cannot be shared
44
Py_XINCREF(dst_info->module);
45
46
if (src_info->format) {
0 commit comments