From 9ba97df69c9b056d8531bb8ed54378ca81d761de Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 17 Nov 2015 12:15:07 +0100 Subject: [PATCH] Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the issue #24164. --- Modules/_pickle.c | 1 + 1 file changed, 1 insertion(+) 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. */ -- 2.40.0