summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author neo.chae <neo.chae@lge.com> 2016-11-11 00:16:46 +0000
committer android-build-merger <android-build-merger@google.com> 2016-11-11 00:16:46 +0000
commit7489336feddad42e88ea6c1c0542e34128b3ed92 (patch)
tree16f7405601fa883c5fd43ae09d40e34924a7eb65 /libs
parentdb984f917c2ca09b3245ede9dbea13b50e729ede (diff)
parentc58ec27e1c41ecdf3c0deb06845e5174f29cc578 (diff)
Fix idmap leak in zygote process am: 0244ca8d10 am: 82537abc3b am: 85afb42c16 am: b4b2203c5e am: fb74b8773a
am: c58ec27e1c Change-Id: Id44b030b79e924a7d619288b2fc0926d7a536111
Diffstat (limited to 'libs')
-rw-r--r--libs/androidfw/AssetManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/androidfw/AssetManager.cpp b/libs/androidfw/AssetManager.cpp
index 2dc1c96259c0..1a27d67c3732 100644
--- a/libs/androidfw/AssetManager.cpp
+++ b/libs/androidfw/AssetManager.cpp
@@ -814,6 +814,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);