Add missing clean-up of idmap file descriptors.

Change-Id: I9bdc9a4b7962f1a8dce77f4b213c8b9dc26e4b0f
This commit is contained in:
Mårten Kongstad
2011-05-05 10:40:42 +02:00
committed by Johan Redestig
parent 9c4ba2580e
commit 2b91c67137

View File

@@ -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");