mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
Fix memory leak.
This commit is contained in:
parent
100344817c
commit
e3edaea33d
1 changed files with 1 additions and 0 deletions
|
|
@ -1855,6 +1855,7 @@ posix_listdir(PyObject *self, PyObject *args)
|
|||
free(wnamebuf);
|
||||
return NULL;
|
||||
}
|
||||
free(wnamebuf);
|
||||
return d;
|
||||
}
|
||||
/* Drop the argument parsing error as narrow strings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue