diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-07-11 19:42:49 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-07-11 19:42:49 (GMT) |
commit | fff093fa7f429ecab973c192c8c0da0216355847 (patch) | |
tree | 6e67cc3d46b9effee1ffab990bcc4df11e111dda /Modules/cPickle.c | |
parent | fa6cce1fddd0a3f906082616b5d0f385dfac8ff4 (diff) | |
download | cpython-fff093fa7f429ecab973c192c8c0da0216355847.zip cpython-fff093fa7f429ecab973c192c8c0da0216355847.tar.gz cpython-fff093fa7f429ecab973c192c8c0da0216355847.tar.bz2 |
The Unpickler forget about its find_class attribute.
Diffstat (limited to 'Modules/cPickle.c')
-rw-r--r-- | Modules/cPickle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c index 7ffd979..c452dc1 100644 --- a/Modules/cPickle.c +++ b/Modules/cPickle.c @@ -5232,6 +5232,7 @@ Unpickler_dealloc(Unpicklerobject *self) Py_XDECREF(self->pers_func); Py_XDECREF(self->arg); Py_XDECREF(self->last_string); + Py_XDECREF(self->find_class); if (self->marks) { free(self->marks); @@ -5263,6 +5264,7 @@ Unpickler_traverse(Unpicklerobject *self, visitproc visit, void *arg) VISIT(self->pers_func); VISIT(self->arg); VISIT(self->last_string); + VISIT(self->find_class); #undef VISIT return 0; } @@ -5279,6 +5281,7 @@ Unpickler_clear(Unpicklerobject *self) CLEAR(self->pers_func); CLEAR(self->arg); CLEAR(self->last_string); + CLEAR(self->find_class); #undef CLEAR return 0; } |