Ensure temp_row allocation succeeds