woops these strings aren't kept around, free them
This commit is contained in:
parent
6c96ffe031
commit
a9aedd2011
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue