commit | 837eff22c86bcdddd50c68315ef17792a0d1949a | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <pirama@google.com> | Thu Jul 09 10:50:04 2015 -0700 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Thu Jul 09 10:50:04 2015 -0700 |
tree | 784f8e80ff39d59bf1252df29f77c096ba3c2b50 | |
parent | 41a0654e2a76a8c639b2265513345cc4c268560d [diff] |
Use delete[] to de-allocate pointers from new[] Upstream clang has a new diagnostic, '-Wmismatched-new-delete' to generate a warning (that becomes an error with -Werror) when delete is used to deallocate pointers created with 'new[]'. This patch fixes 'delete's that trigger this warning/error. Change-Id: I7551e856b4b13bfae4cb78b5664d8652322683cf