We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e5d59e commit c02343cCopy full SHA for c02343c
src/c/_cffi_backend.c
@@ -517,8 +517,7 @@ static void
517
ctypedescr_dealloc(CTypeDescrObject *ct)
518
{
519
PyObject_GC_UnTrack(ct);
520
- if (ct->ct_weakreflist != NULL)
521
- PyObject_ClearWeakRefs((PyObject *) ct);
+ PyObject_ClearWeakRefs((PyObject *) ct);
522
523
if (ct->ct_unique_key != NULL) {
524
/* delete the weak reference from unique_cache */
0 commit comments