Closed DavisVaughan closed 1 year ago
attrs needs to be protected, as it is unprotected by the r_poke_attrib(x, r_null) call and then we allocate with r_clone()
attrs
r_poke_attrib(x, r_null)
r_clone()
https://github.com/r-lib/rlang/blob/60159c7c21031f87187f67fcf4c3f2145e6ee62e/src/rlang/attrib.c#L80-L90
attrs
needs to be protected, as it is unprotected by ther_poke_attrib(x, r_null)
call and then we allocate withr_clone()
https://github.com/r-lib/rlang/blob/60159c7c21031f87187f67fcf4c3f2145e6ee62e/src/rlang/attrib.c#L80-L90