changeset: 99184:7adc1d24d05b user: Victor Stinner date: Tue Nov 17 12:15:07 2015 +0100 files: Modules/_pickle.c description: Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the issue #24164. diff -r a6bc96c2b8be -r 7adc1d24d05b Modules/_pickle.c --- a/Modules/_pickle.c Tue Nov 17 00:19:27 2015 +0000 +++ b/Modules/_pickle.c Tue Nov 17 12:15:07 2015 +0100 @@ -193,6 +193,7 @@ Py_CLEAR(st->import_mapping_3to2); Py_CLEAR(st->codecs_encode); Py_CLEAR(st->getattr); + Py_CLEAR(st->partial); } /* Initialize the given pickle module state. */