diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-11-15 16:45:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 16:45:11 (GMT) |
commit | 3c57971a2d3b6d2c6fd1f525ba2108fccb35add2 (patch) | |
tree | 697c28707c62e43c9a444af3069304b8fad2e54b /Parser/action_helpers.c | |
parent | 73943cbc4c5e97f71b76150c549d07e8ed00066b (diff) | |
download | cpython-3c57971a2d3b6d2c6fd1f525ba2108fccb35add2.zip cpython-3c57971a2d3b6d2c6fd1f525ba2108fccb35add2.tar.gz cpython-3c57971a2d3b6d2c6fd1f525ba2108fccb35add2.tar.bz2 |
gh-81057: Move Globals in Core Code to _PyRuntimeState (gh-99496)
This is the first of several changes to consolidate non-object globals in core code.
https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Parser/action_helpers.c')
-rw-r--r-- | Parser/action_helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/action_helpers.c b/Parser/action_helpers.c index d1be679..27c0933 100644 --- a/Parser/action_helpers.c +++ b/Parser/action_helpers.c @@ -12,6 +12,7 @@ _create_dummy_identifier(Parser *p) void * _PyPegen_dummy_name(Parser *p, ...) { + // XXX This leaks memory from the initial arena. static void *cache = NULL; if (cache != NULL) { |