Simplify implementation of temporary reallocation.
Simplify implementation of temporary reallocation.

songchenwen/ldid,nandub/ldid,nandub/ldid,tpoechtrager/ldid,tpoechtrager/ldid,songchenwen/ldid,tpoechtrager/ldid,songchenwen/ldid,nandub/ldid