summaryrefslogtreecommitdiffstats
path: root/Modules/cPickle.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/cPickle.c')
-rw-r--r--Modules/cPickle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c
index 6244f8b..db72bf9 100644
--- a/Modules/cPickle.c
+++ b/Modules/cPickle.c
@@ -3906,7 +3906,8 @@ newUnpicklerobject(PyObject *f) {
self->marks_size = 0;
self->buf_size = 0;
self->read = NULL;
- self->readline = NULL;
+ self->readline = NULL;
+ self->class_map = NULL;
UNLESS(self->memo = PyDict_New()) {
Py_XDECREF((PyObject *)self);