commit | 204e17171b4bbaf171e7565d59143f3cee0a70b9 | [log] [tgz] |
---|---|---|
author | Gabriel Biren <gbiren@google.com> | Thu Feb 16 18:10:17 2023 +0000 |
committer | Gabriel Biren <gbiren@google.com> | Fri Feb 17 16:47:29 2023 +0000 |
tree | 57135dd54a519d034df0b8ec784cd3c5f768994f | |
parent | cb34a1dc4d534b1afd1cadebd0a27aa01c27acee [diff] |
Free version buffer in the Vendor HAL's XML parsing logic. Fixes a minor memory leak that results from not freeing that buffer. Bug: 269520490 Test: Manual test 1. Create several XML files under /vendor/etc/wifi/vendor_hals 2. Modify the codepath to run the initVendorHalsDescriptorList method (does not run by default on Pixel). 3. Check that the XML parsing logic is working as intended. Change-Id: I42944169b70c759998d94e8523d2aa55d0366ffd