Fix idmap leak in zygote process am: 0244ca8d10 am: 82537abc3b am: 85afb42c16 am: b4b2203c5e am: fb74b8773a am: c58ec27e1c am: 7489336fed
am: 0212d4f3fa
Change-Id: I9ea05d641c04178d067c35ae5d2f87ee35c86924
This commit is contained in:
@@ -795,6 +795,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