commit | d701fd181935d6abc6c046a99f855b5ccc5c2d27 | [log] [tgz] |
---|---|---|
author | Conley Owens <cco3@android.com> | Thu May 05 14:03:15 2011 -0700 |
committer | Android Git Automerger <android-git-automerger@android.com> | Thu May 05 14:03:15 2011 -0700 |
tree | a261cac5a69ebbc5cf717395918b6e0cdf6cd0be | |
parent | 002083a227967e907c3273f544585f5b7abadc77 [diff] | |
parent | 088cb8af97ba8fbf8aa12f498b485abd2ba6c068 [diff] |
am bcd029b6: Merge "Add missing clean-up of idmap file descriptors." * commit 'bcd029b6c8dee19d2cefb00f3ff637b4dcd407b3': Add missing clean-up of idmap file descriptors.
diff --git a/libs/utils/AssetManager.cpp b/libs/utils/AssetManager.cpp index 13004cd..0b4d1ac 100644 --- a/libs/utils/AssetManager.cpp +++ b/libs/utils/AssetManager.cpp
@@ -680,6 +680,9 @@ delete ass; } } + if (idmap != NULL) { + delete idmap; + } } if (required && !rt) LOGW("Unable to find resources file resources.arsc");