SIGN IN SIGN UP

gh-111178: Fix _PyLegacyEventHandler_Type deallocator (#131193)

Don't use PyObject_Free() as tp_dealloc to avoid an undefined
behavior. Instead, use the default deallocator which just calls
tp_free which is PyObject_Free().
V
Victor Stinner committed
0ddfb5717f761fcab7929957eca65044116a96a4
Parent: 9649278
Committed by GitHub <noreply@github.com> on 3/14/2025, 9:23:54 AM