Remove common usage pattern from AllocRef
#69026
+9
−223
Merged
AllocRef
#69026