]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix a problem with Vladimir's PyInt_Fini code: clear the free list; if
authorGuido van Rossum <guido@python.org>
Fri, 19 Mar 1999 20:30:39 +0000 (20:30 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 19 Mar 1999 20:30:39 +0000 (20:30 +0000)
commit51288bce482d076917c5ce5a3a5b48e7aa6031cb
treedfcb5869745b8687bd296069b17e9a69314e1e1e
parent8be229650dd59c06c369e3ccb5394f9243f78501
Fix a problem with Vladimir's PyInt_Fini code: clear the free list; if
a block cannot be freed, add its free items back to the free list, and
add its valid ints back to the small_ints array if they are in range.
This is necessary to avoid leaking when Python is reinitialized later.
Objects/intobject.c