Commit dffe90e
bpo-36459: Fix a possible double PyMem_FREE() due to tokenizer.c's tok_nextc() (12601)
Remove the PyMem_FREE() call added in cb90c89. The buffer will be
freed when PyTokenizer_Free() is called on the tokenizer state.
(cherry picked from commit cda139d)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>1 parent bb89aa2 commit dffe90e
2 files changed
Lines changed: 1 addition & 1 deletion
File tree
- Misc/NEWS.d/next/Core and Builtins
- Parser
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
983 | 982 | | |
984 | 983 | | |
985 | 984 | | |
| |||
0 commit comments