diff Python/codecs.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 2284fa89ab08
children efef5fc45a9a
line wrap: on
line diff