comparison Python/modsupport.c @ 48889:bbffe0914c56 legacy-trunk

#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:39:48 +0000
parents 52294af4b663
children fd25030223b0
comparison
equal deleted inserted replaced
48884:efc49863cd8f 48889:bbffe0914c56