Connecting an empty menu to the node group inputs causes a memory leak. The `id_property_int_update_enum_items` function was always allocating a new `enum_items` list, but then discarding it if there are no enum items.