Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the
issue #24164.
This commit is contained in:
parent
27b735ab0f
commit
9ba97df69c
|
@ -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…
Reference in New Issue