From a9aedd2011f6ab83215738e5214cbd6e484ca754 Mon Sep 17 00:00:00 2001 From: Philip Jenvey Date: Wed, 7 Apr 2010 05:19:21 +0000 Subject: [PATCH] woops these strings aren't kept around, free them --- Modules/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/main.c b/Modules/main.c index 95fae17f832..5ae82efb1af 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -417,6 +417,7 @@ Py_Main(int argc, wchar_t **argv) "not enough memory to copy PYTHONWARNINGS"); mbstowcs(warning, buf, len); PySys_AddWarnOption(warning); + free(warning); } }