Fix idmap leak in zygote process

am: 0244ca8d10

Change-Id: Ia35ded23161ad5c5c6fe4dea388e74b8d8af2955
This commit is contained in:
neo.chae
2016-11-09 09:21:46 +00:00
committed by android-build-merger

View File

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