summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-07-09 00:35:22 +0200
committerVictor Stinner <victor.stinner@gmail.com>2013-07-09 00:35:22 +0200
commit79799266165b5d8d4e8b9b007d81ba3b00197ca9 (patch)
treea79e1d91c4ec128ec35be099de28e7d5817fce52 /Python/Python-ast.c
parente0af3a802a67d3467b18510869ee1cf9d233fe8e (diff)
downloadcpython-git-79799266165b5d8d4e8b9b007d81ba3b00197ca9.tar.gz
Issue #18408: Fix usage of _PyBytes_Resize()
_PyBytes_Resize(&v, new_size) sets v to NULL on error, so v cannot be used anymore. Replace "Py_DECREF(v); v = NULL;" with "Py_CLEAR(v);".
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions