Destroy Allocation right away on exception

Bug: 28053584

To avoid holding the resource (surface) for too long.

Test: CTS on x86_64 emulator
Change-Id: I2fdec107c2a16b7dadbf78a9aee79c33423a3676
(cherry picked from commit c48a09cce85cbaeeaa75f9697807773bb99487eb)
1 file changed