diff Python/pystrcmp.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 0a485593ae1c
children fd25030223b0
line wrap: on
line diff