summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-10-29 03:14:22 +0100
committerVictor Stinner <victor.stinner@gmail.com>2013-10-29 03:14:22 +0100
commit986e224d5a71342b683975ea0240315a8264616b (patch)
tree6854c55bef2a80e7906be23db4264ffcc271678a /Python/sysmodule.c
parentcc024d18207f9967c707186eec77731a6c1eea35 (diff)
downloadcpython-git-986e224d5a71342b683975ea0240315a8264616b.tar.gz
Issue #18408: Fix error handling in PyBytes_FromObject()
_PyBytes_Resize(&new) sets new to NULL on error, don't call Py_DECREF() with NULL.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions