commit | 5caf5fdc6fcb265193144f805f5caff69d8bde20 | [log] [tgz] |
---|---|---|
author | Zhizhou Yang <zhizhouy@google.com> | Tue Feb 14 16:16:33 2017 -0800 |
committer | Zhizhou Yang <zhizhouy@google.com> | Tue Feb 21 15:19:57 2017 -0800 |
tree | 6757f7a4e3eed48340c6b59c3db6c663923c2431 | |
parent | 0bf608ee8257e7e2992466b77fc18f62d67014eb [diff] |
Fix MemoryLeak warning in frameworks/base/services Fixed warning: Memory allocated by 'new' should be deallocated by 'delete', not free(). Bug: 31999593 Test: mmma framework/base/services, with WITH_TIDY and WITH_STATIC_ANALYZER, the warning has gone. Change-Id: Ib19fd2f210468b712ee72a4760d2abe8355c59e2