Fix bugs in AllocationAdapter.

Change-Id: Ib530fc719de3587f44eed88bd1d16e22dd5af64a
1 file changed