]> granicus.if.org Git - python/commit
builtin_map(): A better fix for the previous leak plug (remember
authorBarry Warsaw <barry@python.org>
Thu, 28 Jan 1999 18:49:12 +0000 (18:49 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 28 Jan 1999 18:49:12 +0000 (18:49 +0000)
commitfa77e09dd006c9852d636481af6c6199b2d7b5aa
tree41eccd710cbe367b7219dae43247a7a80879e174
parentc9bda41a210ed2235c1ba47dda8875696eda3850
builtin_map(): A better fix for the previous leak plug (remember
PyList_Append steals a reference even if it fails).

builtin_filter(): Had the same leak problem as builtin_map().
Python/bltinmodule.c