| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 796cc6e commit cda139d
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + Fix a possible double ``PyMem_FREE()`` due to tokenizer.c's ``tok_nextc()``. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -963,7 +963,6 @@ tok_nextc(struct tok_state *tok) | |||
| 963 | 963 | newbuf = (char *)PyMem_REALLOC(newbuf, | |
| 964 | 964 | newsize); | |
| 965 | 965 | if (newbuf == NULL) { | |
| 966 | - PyMem_FREE(tok->buf); | ||
| 967 | 966 | tok->done = E_NOMEM; | |
| 968 | 967 | tok->cur = tok->inp; | |
| 969 | 968 | return EOF; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments