diff options
author | George Burgess IV <gbiv@google.com> | 2017-06-22 15:53:50 -0700 |
---|---|---|
committer | George Burgess IV <gbiv@google.com> | 2017-06-22 15:53:50 -0700 |
commit | d86b320e14d8f3d59931e39077e7468170d7e3a3 (patch) | |
tree | 604ce2096f46e2ee1bca4e215fc44cad7bfd0cc1 /test/MultiDex | |
parent | b96ed2c271a56fb8be0c8f30231710095e66a201 (diff) |
Fix static analyzer warnings
runtime/base/variant_map.h: Potential leak of memory pointed to by field
'first' + 'second'
The static analyzer is smart enough to figure out that key.Clone()
allocates memory, but can't figure out that Remove(key) will remove the
key from the map. For more, please see the discussion on patch set 1 of
variant_map.h in https://android-review.googlesource.com/#/c/416101 .
Bug: 32619234
Test: test-art-host. Rebuilt ART with the analyzer to verify that these
issues are gone.
Change-Id: I8ebec5dc0d1f8863b316515d7d16a1e1a625132d
Diffstat (limited to 'test/MultiDex')
0 files changed, 0 insertions, 0 deletions