Add missing clean-up of idmap file descriptors.
Change-Id: I9bdc9a4b7962f1a8dce77f4b213c8b9dc26e4b0f
This commit is contained in:
committed by
Johan Redestig
parent
9c4ba2580e
commit
2b91c67137
@@ -680,6 +680,9 @@ const ResTable* AssetManager::getResTable(bool required) const
|
||||
delete ass;
|
||||
}
|
||||
}
|
||||
if (idmap != NULL) {
|
||||
delete idmap;
|
||||
}
|
||||
}
|
||||
|
||||
if (required && !rt) LOGW("Unable to find resources file resources.arsc");
|
||||
|
||||
Reference in New Issue
Block a user