New submission from Stéphane Wirtel <steph...@wirtel.be>:

I have detected 3 memory leaks when I execute python -V with valgrind -> 162 
bytes.

The leaks do seem to be in pymain_init and in _PyPreConfig_ReadFromArgv (the 
string for the locale is not freed).

Also _PyRuntimeState_Fini does not release the memory of the mutex on 
runtime->xidregistry.

You can find the first status in the valgrind.log file (with the leaks).

----------
components: Interpreter Core
files: valgrind.log
messages: 338147
nosy: matrixise
priority: normal
severity: normal
status: open
title: memory leaks detected with valgrind for python -V
Added file: https://bugs.python.org/file48213/valgrind.log

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36333>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to