[issue14909] Fix incorrect use of *Realloc() and *Resize()
Kristján Valur Jónsson
report at bugs.python.org
Fri May 25 11:58:18 CEST 2012
New submission from Kristján Valur Jónsson <kristjan at ccpgames.com>:
A number of places were using PyMem_Realloc() apis and PyObject_GC_Resize() with incorrect error handling. In case of errors, they would leak the original object. This patch fixes those cases.
----------
files: realloc.diff
keywords: patch
messages: 161561
nosy: kristjan.jonsson
priority: normal
severity: normal
status: open
title: Fix incorrect use of *Realloc() and *Resize()
type: resource usage
versions: Python 3.3
Added file: http://bugs.python.org/file25703/realloc.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14909>
_______________________________________
More information about the Python-bugs-list
mailing list