[Python-checkins] r79884 - python/branches/py3k/Modules/main.c
philip.jenvey
python-checkins at python.org
Wed Apr 7 07:19:21 CEST 2010
Author: philip.jenvey
Date: Wed Apr 7 07:19:21 2010
New Revision: 79884
Log:
woops these strings aren't kept around, free them
Modified:
python/branches/py3k/Modules/main.c
Modified: python/branches/py3k/Modules/main.c
==============================================================================
--- python/branches/py3k/Modules/main.c (original)
+++ python/branches/py3k/Modules/main.c Wed Apr 7 07:19:21 2010
@@ -417,6 +417,7 @@
"not enough memory to copy PYTHONWARNINGS");
mbstowcs(warning, buf, len);
PySys_AddWarnOption(warning);
+ free(warning);
}
}
More information about the Python-checkins
mailing list