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

Commit 7c57d233 authored by sean_lu's avatar sean_lu
Browse files

[Asset Manager] Fix memory leakage bug

Symptom: memory leakage
Root Cause: new SortedVector but not free it in native cpp
Solution: free the SortedVector
Project: AOSP
Note:

Change-Id: Iab5a7f2e8d8509631301e7231427927d4797c856
parent 748f4b8d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1747,6 +1747,7 @@ bool AssetManager::fncScanAndMergeDirLocked(
    }

    mergeInfoLocked(pMergedInfo, pContents);
    delete pContents;
    return true;
}