Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b9b07 commit f0a7bacCopy full SHA for f0a7bac
1 file changed
Modules/posixmodule.c
@@ -9173,6 +9173,10 @@ _pystatvfs_fromstructstatvfs(struct statvfs st) {
9173
PyStructSequence_SET_ITEM(v, 8, PyLong_FromLong((long) st.f_flag));
9174
PyStructSequence_SET_ITEM(v, 9, PyLong_FromLong((long) st.f_namemax));
9175
#endif
9176
+ if (PyErr_Occurred()) {
9177
+ Py_DECREF(v);
9178
+ return NULL;
9179
+ }
9180
9181
return v;
9182
}
0 commit comments