]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
builtin_complex(): Nailed memory leak. This one's in the instance
authorBarry Warsaw <barry@python.org>
Wed, 27 Jan 1999 23:13:59 +0000 (23:13 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 27 Jan 1999 23:13:59 +0000 (23:13 +0000)
commitf988e687a1f0251c36fe620e5f562c113f338cd9
tree811b3c0066449e92cee6bef3c42520e71feb7359
parent583cc31c223de8f021db7e427876e6097374bc9e
builtin_complex(): Nailed memory leak.  This one's in the instance
test for classes with a __complex__() method.  The attribute is pulled
out of the instance with PyObject_GetAttr() but this transfers
ownership and the function object was never DECREF'd.
Python/bltinmodule.c