SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 33 Python

SF bug #782369: Massive memory leak in array module

Fixed leak caused by switching from PyList_GetItem to PySequence_GetItem.
Added missing NULL check.
Clarified code by converting an "if" to an "else if".

Will backport to 2.3.
R
Raymond Hettinger committed
85004cc47d807579a475da9f4367a62eb2fd72a2
Parent: 83f5291