From: Victor Stinner Date: Tue, 17 Nov 2015 11:15:07 +0000 (+0100) Subject: Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the X-Git-Tag: v3.6.0a1~1041 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ba97df69c9b056d8531bb8ed54378ca81d761de;p=python Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the issue #24164. --- 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. */