commit | 4535179ba093861ecdb408fb34adcc947957f86f | [log] [tgz] |
---|---|---|
author | Corey Tabaka <eieio@google.com> | Fri Jul 14 11:43:49 2017 -0700 |
committer | Corey Tabaka <eieio@google.com> | Fri Jul 14 11:43:49 2017 -0700 |
tree | 5545d7fcda3c5537aa52d5f56f649e92c9e72679 | |
parent | c3e0cdb28a03e1ce70ca6e538d07fdb34d11ecfe [diff] |
Fix memory leak. A missing destructor caused a memory leak in the UDS backend for PDX. Add the destructor and use std namespace for realloc/malloc/free. Bug: 63026993 Test: Ran pdx_benchmarks for 400M iterations before and after fix. Confirmed that heap grows before fix and is stable after fix. Confirmed that VR service reported in the bug now have stable memory use. Change-Id: If870a5db50dfaf5f212285824a1803f34acdabc7