commit | 51288bce482d076917c5ce5a3a5b48e7aa6031cb | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Mar 19 20:30:39 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Mar 19 20:30:39 1999 +0000 |
tree | dfcb5869745b8687bd296069b17e9a69314e1e1e | |
parent | 8be229650dd59c06c369e3ccb5394f9243f78501 [diff] |
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.