Compilation: fix use after free

Closes #23967
e92b129063Jacob Young committed on 6/19/2025, 10:41:11 PMparent9176408
1 file changedLine totals unavailable