diff Python/Python-ast.c @ 48888:27e142d99a71

#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.
author Antoine Pitrou <solipsis@pitrou.net>
date Fri, 29 Aug 2008 18:37:05 +0000
parents 94f64f11fdd0
children 6ae2d4b507a2
line wrap: on
line diff