commit | 513ae73a91343b596d7cf3f7909175833250e793 | [log] [tgz] |
---|---|---|
author | Marin Shalamanov <shalamanov@google.com> | Mon Jun 14 11:07:30 2021 +0200 |
committer | Marin Shalamanov <shalamanov@google.com> | Wed Jun 16 12:46:56 2021 +0200 |
tree | c25fed73d7e4cc3835d13ee65d1014f5e1583ca3 | |
parent | f876a7d123cd7de55a9ed1e1dd90f546ab26889b [diff] |
VTS: Free allocated buffers The native handle was not freed which causes some devices to run out of memory when executing the test. This change creates a RAII wrapper around native_handle_t, which automatically deallocates buffers when they go out of scope. Bug: 188686850 Test: atest VtsHalGraphicsComposerV2_4TargetTest Change-Id: I19a22a5a3202e048de77926ce4a116a31d9de906