Fix idmap leak in zygote process am: 0244ca8d10
am: 82537abc3b
Change-Id: I83d338ebfdefd0f935c4cfb14c3b15efca1cce0f
This commit is contained in:
@@ -798,6 +798,7 @@ void AssetManager::addSystemOverlays(const char* pathOverlaysList,
|
||||
sharedRes->add(oass, oidmap, offset + 1, false);
|
||||
const_cast<AssetManager*>(this)->mAssetPaths.add(oap);
|
||||
const_cast<AssetManager*>(this)->mZipSet.addOverlay(targetPackagePath, oap);
|
||||
delete oidmap;
|
||||
}
|
||||
}
|
||||
fclose(fin);
|
||||
|
||||
Reference in New Issue
Block a user