REGRESSION: Avoid use-after-free error with TEMPORARY and SAVE.