Kaydet (Commit) 3e6cbf17 authored tarafından Thomas Heller's avatar Thomas Heller

For easier merging, revert ths change; it will be brought back in when

the trunk is merged.
üst 7f162881
...@@ -457,11 +457,13 @@ StructUnionType_update_stgdict(PyObject *type, PyObject *fields, int isStruct) ...@@ -457,11 +457,13 @@ StructUnionType_update_stgdict(PyObject *type, PyObject *fields, int isStruct)
if (!prop) { if (!prop) {
Py_DECREF(pair); Py_DECREF(pair);
Py_DECREF((PyObject *)stgdict);
return -1; return -1;
} }
if (-1 == PyDict_SetItem(realdict, name, prop)) { if (-1 == PyDict_SetItem(realdict, name, prop)) {
Py_DECREF(prop); Py_DECREF(prop);
Py_DECREF(pair); Py_DECREF(pair);
Py_DECREF((PyObject *)stgdict);
return -1; return -1;
} }
Py_DECREF(pair); Py_DECREF(pair);
......
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