• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

Revisão3da446a31cb310f8f4357375cabfdd901a8fa6a7 (tree)
Hora2014-08-27 19:19:20
Autorsean_lu <sean_lu@htc....>
CommiterChih-Wei Huang

Mensagem de Log

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

Mudança Sumário

Diff

--- a/libs/androidfw/AssetManager.cpp
+++ b/libs/androidfw/AssetManager.cpp
@@ -1787,6 +1787,7 @@ bool AssetManager::fncScanAndMergeDirLocked(
17871787 }
17881788
17891789 mergeInfoLocked(pMergedInfo, pContents);
1790+ delete pContents;
17901791 return true;
17911792 }
17921793