summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorEarl Ou <shunhsingou@google.com>2012-10-24 09:46:29 +0800
committerEarl Ou <shunhsingou@google.com>2012-11-07 09:06:15 +0800
commit10b90006957aaecfeba413111d883d2937f03459 (patch)
treeec33e2111828787c6afa9dd21877132087edc8f0 /tests/src
parent1be13e45ee7a6d24cf3f3ba6bb0884328e804e51 (diff)
downloadandroid_packages_apps_Snap-10b90006957aaecfeba413111d883d2937f03459.zip
android_packages_apps_Snap-10b90006957aaecfeba413111d883d2937f03459.tar.gz
android_packages_apps_Snap-10b90006957aaecfeba413111d883d2937f03459.tar.bz2
fix OOM in exif test
Change-Id: I41831e5831b2081f9b6bef6e57bd914faa41385b
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java b/tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java
index 6a4d29e..811b0a6 100644
--- a/tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java
+++ b/tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java
@@ -83,6 +83,7 @@ public class ExifXmlDataTestCase extends InstrumentationTestCase {
public void tearDown() throws Exception {
Util.closeSilently(mImageInputStream);
Util.closeSilently(mXmlInputStream);
+ mXmlParser = null;
}
protected String getImageTitle() {