Skip to content

Commit bcd029b

Browse files
cco3Android Code Review
authored andcommitted
Merge "Add missing clean-up of idmap file descriptors."
2 parents 9c4ba25 + 2b91c67 commit bcd029b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libs/utils/AssetManager.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,9 @@ const ResTable* AssetManager::getResTable(bool required) const
680680
delete ass;
681681
}
682682
}
683+
if (idmap != NULL) {
684+
delete idmap;
685+
}
683686
}
684687

685688
if (required && !rt) LOGW("Unable to find resources file resources.arsc");

0 commit comments

Comments
 (0)