diff Python/pythonrun.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 37397bd1f8a8
children 992460c668c1 76caf0855d1f
line wrap: on
line diff