Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-36301: Fix Py_Main() memory leaks#12420

Merged
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:pathconfig_freeCopy head branch name to clipboard
Mar 18, 2019
Merged

bpo-36301: Fix Py_Main() memory leaks#12420
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:pathconfig_freeCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Mar 18, 2019

Copy link
Copy Markdown
Member

bpo-36301, bpo-36333:

  • Fix memory allocator used by _PyPathConfig_ClearGlobal():
    force the default allocator.
  • _PyPreConfig_ReadFromArgv(): free init_ctype_locale memory.
  • pymain_main(): call pymain_free() on init error

Co-Authored-By: Stéphane Wirtel stephane@wirtel.be

https://bugs.python.org/issue36301

bpo-36301, bpo-36333:

* Fix memory allocator used by _PyPathConfig_ClearGlobal():
  force the default allocator.
* _PyPreConfig_ReadFromArgv(): free init_ctype_locale memory.
* pymain_main(): call pymain_free() on init error

Co-Authored-By: Stéphane Wirtel <stephane@wirtel.be>
@vstinner vstinner merged commit c183444 into python:master Mar 18, 2019
@vstinner vstinner deleted the pathconfig_free branch March 18, 2019 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.