Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the

issue #24164.
This commit is contained in:
Victor Stinner 2015-11-17 12:15:07 +01:00
parent 27b735ab0f
commit 9ba97df69c
1 changed files with 1 additions and 0 deletions

View File

@ -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. */