Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Feb 19, 2019

Try to allocate SRE_REPEAT on state's stack.
This solution messes up the code, so I gave up this solution, and closed this PR.

I will try to implement a simple memory pool later.

https://bugs.python.org/issue23689

@matrixise
Copy link
Member

You can prefix your PR with WIP: if you don't want that we merge your PR.

@ghost ghost changed the title bpo-23689: [Don't merge] Memory leak in Modules/sre_lib.h [WIP] bpo-23689: Memory leak in Modules/sre_lib.h Feb 19, 2019
@ghost
Copy link
Author

ghost commented Feb 19, 2019

You can prefix your PR with WIP: if you don't want that we merge your PR.

ok, changed the title.

@ghost ghost closed this Feb 23, 2019
@ghost ghost deleted the alloc_repeat branch March 29, 2022 15:18
This pull request was closed.
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.

4 participants