On Tue, Jun 08, 2004 at 12:36:07PM +0200, Thomas Heller wrote: > nnorwitz at users.sourceforge.net writes: > > > Update of /cvsroot/python/python/dist/src/Modules > > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16270/Modules > > > > Modified Files: > > posixmodule.c > > Log Message: > > Plug a few memory leaks in utime(). path is allocated from within > > PyArg_ParseTuple() since the format is "et" This change should > > be reviewed carefully. > > I believe 'path' must be set to NULL at the start of the posix_utime > function - I had a crash in a debug build on windows when running > lib\test\test_unicode_file.py. Yes, you are correct. I checked in a fix. path should not be used if have_unicode_filename is set. So I removed an unnecessary free too. Let me know if you have any more problems. Neal
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4