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
Loading
Please register or sign in to comment