diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-11-17 11:15:07 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-11-17 11:15:07 (GMT) |
commit | 9ba97df69c9b056d8531bb8ed54378ca81d761de (patch) | |
tree | 07678d9fd7a439ed79cf29fc9514192d9c70cd3c /Modules | |
parent | 27b735ab0fee0efa7c0c60539919bdac3bdcab4c (diff) | |
download | cpython-9ba97df69c9b056d8531bb8ed54378ca81d761de.zip cpython-9ba97df69c9b056d8531bb8ed54378ca81d761de.tar.gz cpython-9ba97df69c9b056d8531bb8ed54378ca81d761de.tar.bz2 |
Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the
issue #24164.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_pickle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c index 06882d0..a6f414c 100644 --- a/Modules/_pickle.c +++ b/Modules/_pickle.c @@ -193,6 +193,7 @@ _Pickle_ClearState(PickleState *st) 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. */ |