Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85afb42c authored by neo.chae's avatar neo.chae Committed by android-build-merger
Browse files

Fix idmap leak in zygote process am: 0244ca8d

am: 82537abc

Change-Id: I83d338ebfdefd0f935c4cfb14c3b15efca1cce0f
parents 34de2a2d 82537abc
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -798,6 +798,7 @@ void AssetManager::addSystemOverlays(const char* pathOverlaysList,
            sharedRes->add(oass, oidmap, offset + 1, false);
            sharedRes->add(oass, oidmap, offset + 1, false);
            const_cast<AssetManager*>(this)->mAssetPaths.add(oap);
            const_cast<AssetManager*>(this)->mAssetPaths.add(oap);
            const_cast<AssetManager*>(this)->mZipSet.addOverlay(targetPackagePath, oap);
            const_cast<AssetManager*>(this)->mZipSet.addOverlay(targetPackagePath, oap);
            delete oidmap;
        }
        }
    }
    }
    fclose(fin);
    fclose(fin);