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

the trunk is merged.
This commit is contained in:
Thomas Heller 2007-07-13 19:48:40 +00:00
parent 7f16288134
commit 3e6cbf178b
1 changed files with 2 additions and 0 deletions

View File

@ -457,11 +457,13 @@ StructUnionType_update_stgdict(PyObject *type, PyObject *fields, int isStruct)
if (!prop) {
Py_DECREF(pair);
Py_DECREF((PyObject *)stgdict);
return -1;
}
if (-1 == PyDict_SetItem(realdict, name, prop)) {
Py_DECREF(prop);
Py_DECREF(pair);
Py_DECREF((PyObject *)stgdict);
return -1;
}
Py_DECREF(pair);