Mercurial > cpython-lru_cache-weakref
diff Python/modsupport.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 | f27206101ff9 |
| children | 2df1517d868c |
