]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#3668: When PyArg_ParseTuple correctly parses a s* format, but raises an
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 29 Aug 2008 18:39:48 +0000 (18:39 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 29 Aug 2008 18:39:48 +0000 (18:39 +0000)
commitd4ae97bc38780aab5f348b73fee67eaab7546441
tree62ef9d69e065bea64123dc4493ee955ac8553499
parenta27e89bd04d8423dde480a9832400401b38bfc68
#3668: When PyArg_ParseTuple correctly parses a s* format, but raises an
exception afterwards (for a subsequent parameter), the user code will
not call PyBuffer_Release() and memory will leak.

Reviewed by Amaury Forgeot d'Arc.
Include/cobject.h
Misc/NEWS
Objects/cobject.c
Python/getargs.c