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 98c16c9 commit bbeb223Copy full SHA for bbeb223
1 file changed
Objects/exceptions.c
@@ -2321,7 +2321,8 @@ MemoryError_dealloc(PyBaseExceptionObject *self)
2321
/* If this is a subclass of MemoryError, we don't need to
2322
* do anything in the free-list*/
2323
if (!Py_IS_TYPE(self, (PyTypeObject *) PyExc_MemoryError)) {
2324
- return Py_TYPE(self)->tp_free((PyObject *)self);
+ Py_TYPE(self)->tp_free((PyObject *)self);
2325
+ return;
2326
}
2327
2328
_PyObject_GC_UNTRACK(self);
0 commit comments