diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-04-21 04:28:49 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-04-21 04:28:49 (GMT) |
commit | 4fe2184a0fa1e4ab2b93aa4097b72cad7bdf1549 (patch) | |
tree | f388736f66f486b3b8a4c1291daf2727c7306be1 /Modules/_pickle.c | |
parent | 5263c13801b6e1d7602887e86745fe680ad8764c (diff) | |
parent | 637c7c475adc2a48c4e505f2f99f1495fe7c52bc (diff) | |
download | cpython-4fe2184a0fa1e4ab2b93aa4097b72cad7bdf1549.zip cpython-4fe2184a0fa1e4ab2b93aa4097b72cad7bdf1549.tar.gz cpython-4fe2184a0fa1e4ab2b93aa4097b72cad7bdf1549.tar.bz2 |
Merge 3.3
Diffstat (limited to 'Modules/_pickle.c')
-rw-r--r-- | Modules/_pickle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c index fbbb745..443fbe2 100644 --- a/Modules/_pickle.c +++ b/Modules/_pickle.c @@ -5058,11 +5058,13 @@ do_append(UnpicklerObject *self, Py_ssize_t x) if (result == NULL) { Pdata_clear(self->stack, i + 1); Py_SIZE(self->stack) = x; + Py_DECREF(append_func); return -1; } Py_DECREF(result); } Py_SIZE(self->stack) = x; + Py_DECREF(append_func); } return 0; |