[Python-checkins] r68882 - python/branches/py3k/Python/import.c
kristjan.jonsson
python-checkins at python.org
Sat Jan 24 11:33:25 CET 2009
Author: kristjan.jonsson
Date: Sat Jan 24 11:33:25 2009
New Revision: 68882
Log:
Issue 3677: Release the path string on py3k
Modified:
python/branches/py3k/Python/import.c
Modified: python/branches/py3k/Python/import.c
==============================================================================
--- python/branches/py3k/Python/import.c (original)
+++ python/branches/py3k/Python/import.c Sat Jan 24 11:33:25 2009
@@ -3255,6 +3255,7 @@
* "e:\\shared\\" and "\\\\whiterab-c2znlh\\shared" as dirs.
*/
rv = GetFileAttributesA(path);
+ PyMem_Free(path);
if (rv != INVALID_FILE_ATTRIBUTES) {
/* it exists */
if (rv & FILE_ATTRIBUTE_DIRECTORY) {
More information about the Python-checkins
mailing list