frameworks/base
Révision | 3da446a31cb310f8f4357375cabfdd901a8fa6a7 (tree) |
---|---|
l'heure | 2014-08-27 19:19:20 |
Auteur | sean_lu <sean_lu@htc....> |
Commiter | Chih-Wei Huang |
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
@@ -1787,6 +1787,7 @@ bool AssetManager::fncScanAndMergeDirLocked( | ||
1787 | 1787 | } |
1788 | 1788 | |
1789 | 1789 | mergeInfoLocked(pMergedInfo, pContents); |
1790 | + delete pContents; | |
1790 | 1791 | return true; |
1791 | 1792 | } |
1792 | 1793 |