mirror of
https://github.com/python/cpython.git
synced 2025-11-27 21:55:35 +00:00
Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the
issue #24164.
This commit is contained in:
parent
27b735ab0f
commit
9ba97df69c
1 changed files with 1 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ _Pickle_ClearState(PickleState *st)
|
||||||
Py_CLEAR(st->import_mapping_3to2);
|
Py_CLEAR(st->import_mapping_3to2);
|
||||||
Py_CLEAR(st->codecs_encode);
|
Py_CLEAR(st->codecs_encode);
|
||||||
Py_CLEAR(st->getattr);
|
Py_CLEAR(st->getattr);
|
||||||
|
Py_CLEAR(st->partial);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize the given pickle module state. */
|
/* Initialize the given pickle module state. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue