Commit b0c04cb9 authored by Benjamin Peterson's avatar Benjamin Peterson

fix slice cache finalization to use gc del

parent 8917226e
...@@ -102,7 +102,7 @@ void PySlice_Fini(void) ...@@ -102,7 +102,7 @@ void PySlice_Fini(void)
PySliceObject *obj = slice_cache; PySliceObject *obj = slice_cache;
if (obj != NULL) { if (obj != NULL) {
slice_cache = NULL; slice_cache = NULL;
PyObject_Del(obj); PyObject_GC_Del(obj);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment