[Python-checkins] cpython: Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the

victor.stinner python-checkins at python.org
Tue Nov 17 06:15:16 EST 2015


https://hg.python.org/cpython/rev/7adc1d24d05b
changeset:   99184:7adc1d24d05b
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Nov 17 12:15:07 2015 +0100
summary:
  Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of the
issue #24164.

files:
  Modules/_pickle.c |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Modules/_pickle.c b/Modules/_pickle.c
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -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. */

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list