Skip to content
Branch: 2.7
Find file History
Pull request Compare This branch is 4237 commits ahead, 29354 commits behind master.
miss-islington and ZackerySpytz bpo-36459: Fix a possible double PyMem_FREE() due to tokenizer.c's to…
…k_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>
Latest commit dffe90e Mar 28, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Python.asdl spacing nit; this isn't C Jun 22, 2010
acceler.c Untabify C files. Will watch buildbots. May 9, 2010
asdl.py Fix incomplete format error in asdl.py Sep 24, 2016
asdl_c.py [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (G… Jul 31, 2018
bitset.c Untabify C files. Will watch buildbots. May 9, 2010
firstsets.c Untabify C files. Will watch buildbots. May 9, 2010
grammar.c [2.7] properly free memory in pgen. (GH-7869) (closes bpo-27780 Jun 23, 2018
grammar1.c Untabify C files. Will watch buildbots. May 9, 2010
intrcheck.c reinit the TLS before anything else (#130) Feb 21, 2017
listnode.c Untabify C files. Will watch buildbots. May 9, 2010
metagrammar.c Untabify C files. Will watch buildbots. May 9, 2010
myreadline.c [2.7] bpo-18368: Fix memory leaks in PyOS_StdioReadline() when reallo… Mar 19, 2019
node.c Closes #15512: Correct __sizeof__ support for parser Aug 3, 2012
parser.c Untabify C files. Will watch buildbots. May 9, 2010
parser.h Issue 1881. Increased the stack limit from 500 to 1500. Also added Feb 23, 2008
parsetok.c [2.7] bpo-34400: Fix more undefined behavior in parsetok.c (GH-8833). ( Aug 22, 2018
pgen.c bpo-27780: Make pgen.c C89 compliant (GH-7915) Jun 26, 2018
pgenmain.c [2.7] properly free memory in pgen. (GH-7869) (closes bpo-27780 Jun 23, 2018
printgrammar.c Use 4-spaces for indentation (instead of tabs) in pgen outputs May 15, 2010
spark.py Patch #2167 from calvin: Remove unused imports Feb 23, 2008
tokenizer.c bpo-36459: Fix a possible double PyMem_FREE() due to tokenizer.c's to… Mar 28, 2019
tokenizer.h Untabify C files. Will watch buildbots. May 9, 2010
tokenizer_pgen.c Patch #534304: Implement phase 1 of PEP 263. Aug 4, 2002
You can’t perform that action at this time.