diff options
| author | 2020-07-15 17:55:04 -0700 | |
|---|---|---|
| committer | 2020-07-15 17:55:04 -0700 | |
| commit | 8162b6e0d5fca625f2cdf0dcdc2ae8d07fb0ae53 (patch) | |
| tree | a4c2dcff0c41117c83eda96c42403db0fb3465d8 /libs/androidfw/Idmap.cpp | |
| parent | 5f74d605ce2d2237a78d7e259e8adaa70e6683bf (diff) | |
| parent | f65210f9cad319d3e99320672e9eb36605c25851 (diff) | |
Merge ab/12162526 into stage-aosp-rvc-ts-dev
Bug: 148878042
Change-Id: I62d48fad449cae9233fb5c0d505593b17e9b6238
Diffstat (limited to 'libs/androidfw/Idmap.cpp')
| -rw-r--r-- | libs/androidfw/Idmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/androidfw/Idmap.cpp b/libs/androidfw/Idmap.cpp index eb6ee9525bb9..5f231ffe4786 100644 --- a/libs/androidfw/Idmap.cpp +++ b/libs/androidfw/Idmap.cpp @@ -157,7 +157,7 @@ IdmapResMap::Result IdmapResMap::Lookup(uint32_t target_res_id) const { table_value->dataType = entry->type; table_value->data = entry->value; - return Result(ResTable_entry_handle::managed(table_entry)); + return Result(ResTable_entry_handle::managed(table_entry, [](auto p) { free(p); })); } static bool is_word_aligned(const void* data) { |