Commit a9aedd20 authored by Philip Jenvey's avatar Philip Jenvey

woops these strings aren't kept around, free them

parent 6c96ffe0
......@@ -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);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment