diff options
author | Guido van Rossum <guido@python.org> | 1999-03-19 20:30:39 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-03-19 20:30:39 +0000 |
commit | 51288bce482d076917c5ce5a3a5b48e7aa6031cb (patch) | |
tree | dfcb5869745b8687bd296069b17e9a69314e1e1e /Lib/distutils/errors.py | |
parent | 8be229650dd59c06c369e3ccb5394f9243f78501 (diff) | |
download | cpython-git-51288bce482d076917c5ce5a3a5b48e7aa6031cb.tar.gz |
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.
Diffstat (limited to 'Lib/distutils/errors.py')
0 files changed, 0 insertions, 0 deletions