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 083a7a1 commit 570e371Copy full SHA for 570e371
1 file changed
Modules/pwdmodule.c
@@ -145,6 +145,7 @@ pwd_getpwuid(PyObject *module, PyObject *uidobj)
145
while(1) {
146
buf2 = PyMem_RawRealloc(buf, bufsize);
147
if (buf2 == NULL) {
148
+ p = NULL;
149
nomem = 1;
150
break;
151
}
@@ -227,6 +228,7 @@ pwd_getpwnam_impl(PyObject *module, PyObject *name)
227
228
229
230
231
232
233
234
0 commit comments