mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Issue #20437: Fixed 22 potential bugs when deleting objects references.
This commit is contained in:
commit
dfe98a102e
15 changed files with 34 additions and 63 deletions
|
@ -1305,12 +1305,9 @@ finisignal(void)
|
|||
Py_XDECREF(func);
|
||||
}
|
||||
|
||||
Py_XDECREF(IntHandler);
|
||||
IntHandler = NULL;
|
||||
Py_XDECREF(DefaultHandler);
|
||||
DefaultHandler = NULL;
|
||||
Py_XDECREF(IgnoreHandler);
|
||||
IgnoreHandler = NULL;
|
||||
Py_CLEAR(IntHandler);
|
||||
Py_CLEAR(DefaultHandler);
|
||||
Py_CLEAR(IgnoreHandler);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue