summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-03-08 16:39:52 -0800
committerJeff Brown <jeffbrown@google.com>2012-03-08 16:39:52 -0800
commitab2c4d7a18e3644e15b6b91319cfd22e951d9d8a (patch)
tree6be5e04f93b54df68fdb599cf35975fd5d0ab612 /src
parentf3cbcc97081ae4a60269b66606a7b4285011e20e (diff)
downloadpackages_apps_browser-ab2c4d7a18e3644e15b6b91319cfd22e951d9d8a.zip
packages_apps_browser-ab2c4d7a18e3644e15b6b91319cfd22e951d9d8a.tar.gz
packages_apps_browser-ab2c4d7a18e3644e15b6b91319cfd22e951d9d8a.tar.bz2
Should recycle TypedArray.
Change-Id: Iac0fdd3aa971ee1a625bb636f45b6c8ca40bb449
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/provider/BrowserProvider2.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/browser/provider/BrowserProvider2.java b/src/com/android/browser/provider/BrowserProvider2.java
index 06ace20..8d71266 100644
--- a/src/com/android/browser/provider/BrowserProvider2.java
+++ b/src/com/android/browser/provider/BrowserProvider2.java
@@ -697,6 +697,8 @@ public class BrowserProvider2 extends SQLiteContentProvider {
}
}
} catch (ArrayIndexOutOfBoundsException e) {
+ } finally {
+ preloads.recycle();
}
}