diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-06-23 00:26:09 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-06-23 00:26:09 +0000 |
commit | 5dc36b2f9d7150b1c417898ca77e49c020b90657 (patch) | |
tree | d9029e8022000d743200b518d6beebc61616d742 /libs/androidfw/Idmap.cpp | |
parent | 1ef59a811ae10b131a12e77ebb3d7e662403f700 (diff) | |
parent | c4142d91f5c549f7f3661aeb90d344641deabf62 (diff) |
Merge "libafw: Use std::free explicitly for overlays" into rvc-dev
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) { |