Roundup Robot added the comment:
New changeset 1996171cfb96 by Antoine Pitrou in branch '3.2':
Issue #16628: Fix a memory leak in ctypes.resize().
http://hg.python.org/cpython/rev/1996171cfb96
New changeset cae5f3266b81 by Antoine Pitrou in branch '3.3':
Issue #16628: Fix a memory leak in
Antoine Pitrou added the comment:
Should be fixed now.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16628
Meador Inge added the comment:
This is the same as issue13091. I proposed a similar fix there, but yours is
more complete and seems reasonable to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16628
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16628
___
___
Python-bugs-list mailing
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,