[New-bugs-announce] [issue16628] leak in ctypes.resize()

Antoine Pitrou report at bugs.python.org
Thu Dec 6 20:58:48 CET 2012

New submission from Antoine Pitrou:

ctypes.resize() (and/or the deallocator) can leak because of a logic error. Attached patch seems to fix it.

components: Library (Lib)
files: ctypesresizeleak.patch
keywords: patch
messages: 177052
nosy: amaury.forgeotdarc, belopolsky, meador.inge, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: leak in ctypes.resize()
type: resource usage
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28226/ctypesresizeleak.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list