diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-04-16 22:12:29 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-04-16 22:12:29 (GMT) |
commit | b0c04cb98c4d59f0e9a046b78cdd83c465d3fba8 (patch) | |
tree | 271a8e5a4c86434a82f6c69249faf8ac665e9cd0 /Objects/sliceobject.c | |
parent | 8917226e4aa34e63f71992a4e189d75e98ad5c11 (diff) | |
download | cpython-b0c04cb98c4d59f0e9a046b78cdd83c465d3fba8.zip cpython-b0c04cb98c4d59f0e9a046b78cdd83c465d3fba8.tar.gz cpython-b0c04cb98c4d59f0e9a046b78cdd83c465d3fba8.tar.bz2 |
fix slice cache finalization to use gc del
Diffstat (limited to 'Objects/sliceobject.c')
-rw-r--r-- | Objects/sliceobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/sliceobject.c b/Objects/sliceobject.c index bf5eb3a..2f32355 100644 --- a/Objects/sliceobject.c +++ b/Objects/sliceobject.c @@ -102,7 +102,7 @@ void PySlice_Fini(void) PySliceObject *obj = slice_cache; if (obj != NULL) { slice_cache = NULL; - PyObject_Del(obj); + PyObject_GC_Del(obj); } } |