Fix another instance of potentially storing the address of a temporary.