commit | 661e90a66274a4a10d0b18166688507692569b42 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Wed Jul 11 06:20:25 2018 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Wed Jul 11 13:18:50 2018 -0700 |
tree | eb7d48c6e7d2bd1ed11a8dc2e7a7e79c055d1ecc | |
parent | 84c05cdca73f0378c92ed06147463c2962b5c1b6 [diff] |
AC4Parser: Avoid memory leak Our 'presentation_name' was allocated, but never deleted. Instead of creating a temporary char array, we directly use std::string to build up this name, and avoid the leak. Test: Treehugger Change-Id: Ie3baf602d24edffe2408a77e0fae714e6a8e8baf