diff --git a/libdrgn/python/type_kind_set.c b/libdrgn/python/type_kind_set.c index 3300c6583..51b0ced4b 100644 --- a/libdrgn/python/type_kind_set.c +++ b/libdrgn/python/type_kind_set.c @@ -29,7 +29,6 @@ int init_type_kind_set(void) &TypeKindSet_type); if (!res) return -1; - Py_DECREF(res); return 0; }