[issue16628] leak in ctypes.resize()

2012-12-08 Thread Roundup Robot
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

[issue16628] leak in ctypes.resize()

2012-12-08 Thread Antoine Pitrou
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

[issue16628] leak in ctypes.resize()

2012-12-07 Thread Meador Inge
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

[issue16628] leak in ctypes.resize()

2012-12-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16628 ___ ___ Python-bugs-list mailing

[issue16628] leak in ctypes.resize()

2012-12-06 Thread Antoine Pitrou
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,