commit | d4ae97bc38780aab5f348b73fee67eaab7546441 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Aug 29 18:39:48 2008 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Aug 29 18:39:48 2008 +0000 |
tree | 62ef9d69e065bea64123dc4493ee955ac8553499 | |
parent | a27e89bd04d8423dde480a9832400401b38bfc68 [diff] |
#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.