Mercurial > cpython-lru_cache-weakref
diff Python/modsupport.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 | 98e37347378b |
| children | b6b7bd20c845 |
