Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 15438:433458651eb4 legacy-trunk
Plug a memory leak in com_import_stmt(): the tuple created to hold the
"..." in "from M import ..." was never DECREFed. Leak reported by
James Slaughter and nailed by Barry, who also provided an earlier
version of this patch.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 27 Nov 2000 22:22:36 +0000 |
| parents | 6f6f965c5e2d |
| children | f0ca4c67957b |
