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 6455ebd commit 239bfbdCopy full SHA for 239bfbd
Python/pystate.c
@@ -608,9 +608,7 @@ free_interpreter(PyInterpreterState *interp)
608
assert(_Py_IS_ALIGNED(interp, _Alignof(PyInterpreterState)));
609
char *mem_location = (char *)interp - RAW_ALIGN_PTR_OFFSET;
610
void *mem = *((void **)mem_location);
611
- if (mem != NULL) {
612
- PyMem_RawFree(mem);
613
- }
+ PyMem_RawFree(mem);
614
#else
615
PyMem_RawFree(interp);
616
#endif
0 commit comments