diff options
author | Philip Jenvey <pjenvey@underboss.org> | 2010-04-07 05:19:21 (GMT) |
---|---|---|
committer | Philip Jenvey <pjenvey@underboss.org> | 2010-04-07 05:19:21 (GMT) |
commit | a9aedd2011f6ab83215738e5214cbd6e484ca754 (patch) | |
tree | d4ae5c8a20a1b0ffe71d277215206533cd82780e /Modules/main.c | |
parent | 6c96ffe031c1167730dc1d5918971952857d1685 (diff) | |
download | cpython-a9aedd2011f6ab83215738e5214cbd6e484ca754.zip cpython-a9aedd2011f6ab83215738e5214cbd6e484ca754.tar.gz cpython-a9aedd2011f6ab83215738e5214cbd6e484ca754.tar.bz2 |
woops these strings aren't kept around, free them
Diffstat (limited to 'Modules/main.c')
-rw-r--r-- | Modules/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/main.c b/Modules/main.c index 95fae17..5ae82ef 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); } } |