]> granicus.if.org Git - python/commit
builtin_map(): Nailed memory leak. PyList_Append() borrows a
authorBarry Warsaw <barry@python.org>
Thu, 28 Jan 1999 04:21:35 +0000 (04:21 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 28 Jan 1999 04:21:35 +0000 (04:21 +0000)
commit2133287c3ed12557cb1dde84ffe928e1f04eeda9
tree062ac515b39fe617586b36dbb02e182377b43775
parentf988e687a1f0251c36fe620e5f562c113f338cd9
builtin_map(): Nailed memory leak.  PyList_Append() borrows a
reference, so you have to DECREF the appended value.  This was a fun
one!
Python/bltinmodule.c