summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-11-17 12:15:07 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-11-17 12:15:07 +0100
commit9ba97df69c9b056d8531bb8ed54378ca81d761de (patch)
tree07678d9fd7a439ed79cf29fc9514192d9c70cd3c
parent27b735ab0fee0efa7c0c60539919bdac3bdcab4c (diff)
downloadcpython-git-9ba97df69c9b056d8531bb8ed54378ca81d761de.tar.gz
Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the
issue #24164.
-rw-r--r--Modules/_pickle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index 06882d0809..a6f414c8c3 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. */