Kaydet (Commit) ea94ba45 authored tarafından Stefan Krah's avatar Stefan Krah

Merge 3.2.

......@@ -692,8 +692,10 @@ bytesio_getstate(bytesio *self)
}
else {
dict = PyDict_Copy(self->dict);
if (dict == NULL)
if (dict == NULL) {
Py_DECREF(initvalue);
return NULL;
}
}
state = Py_BuildValue("(OnN)", initvalue, self->pos, dict);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment