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 35fa35e commit 65e4bc0Copy full SHA for 65e4bc0
1 file changed
Python/crossinterp_data_lookup.h
@@ -657,6 +657,7 @@ _tuple_shared(PyThreadState *tstate, PyObject *obj, xidata_fallback_t fallback,
657
shared->items = (_PyXIData_t **) PyMem_Calloc(shared->len, sizeof(_PyXIData_t *));
658
if (shared->items == NULL) {
659
PyErr_NoMemory();
660
+ PyMem_RawFree(shared);
661
return -1;
662
}
663
0 commit comments