Correct uninitialized data problem in marshal code.

This commit is contained in:
Vinay Sajip 2011-07-02 18:42:21 +01:00
parent 401d09dca2
commit aac0f75b3b

View File

@ -1339,6 +1339,7 @@ marshal_load(PyObject *self, PyObject *f)
rf.depth = 0;
rf.fp = NULL;
rf.readable = f;
rf.current_filename = NULL;
result = read_object(&rf);
}
Py_DECREF(data);