Fix potential memory leak.

In the onTransact DECRYPT case, the allocated subSamples
are not freed when we encounter an error. Use unique_ptr
to manage memory instead.

Test: Play Movies & TV, Netflix
Test: Gts

bug: 73628269
Change-Id: I36b7deeff0380ee3be31ad5f93a5598cfe02e381
1 file changed