commit | fdd2cad293ab12d4066bb944142ca5d6b862c4b9 | [log] [tgz] |
---|---|---|
author | Edwin Wong <edwinwong@google.com> | Sat Mar 31 16:31:29 2018 -0700 |
committer | Edwin Wong <edwinwong@google.com> | Sat Mar 31 16:31:29 2018 -0700 |
tree | 0894d05a22773f61f6d70f11bccdd6bf04c52762 | |
parent | fcf9a4c7e2d646154927a53d7a25bef5c4c380d7 [diff] |
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