commit | 01ccd7154b4cc35b9a499da951617e978ed5ac8e | [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 | ff911cebd4bfdeed97adf935f54374030344c2b6 [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