Mercurial > cpython-lru_cache-weakref
diff Python/formatter_string.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 | 47ef9a806ce9 |
| children | 34e7c1b14495 |
