Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 9980:dcbe72a0b392 legacy-trunk
builtin_map(): Nailed memory leak. PyList_Append() borrows a
reference, so you have to DECREF the appended value. This was a fun
one!
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Thu, 28 Jan 1999 04:21:35 +0000 |
| parents | 489ef7f64041 |
| children | ddbbed8cb830 |
line wrap: on
line diff
