diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2015-08-29 10:42:37 +0200 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2015-08-29 10:42:37 +0200 |
commit | 7bcf3ce15868f6dfa052f9255c393ceda74527d5 (patch) | |
tree | 2f53d3b201fbfd3a71d551a9436461034fd28a1a | |
parent | 5df4801a2f4a5a4905a6bad19a27288b8ba3a40d (diff) | |
download | cgeo-7bcf3ce15868f6dfa052f9255c393ceda74527d5.zip cgeo-7bcf3ce15868f6dfa052f9255c393ceda74527d5.tar.gz cgeo-7bcf3ce15868f6dfa052f9255c393ceda74527d5.tar.bz2 |
Android lint: recycle parcel after use
-rw-r--r-- | tests/src/cgeo/geocaching/ImageTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/ImageTest.java b/tests/src/cgeo/geocaching/ImageTest.java index 9be586d..493525f 100644 --- a/tests/src/cgeo/geocaching/ImageTest.java +++ b/tests/src/cgeo/geocaching/ImageTest.java @@ -186,5 +186,6 @@ public class ImageTest extends CGeoTestCase { final Image image2 = Image.CREATOR.createFromParcel(parcel);
assertThat(image1).isEqualTo(image2);
+ parcel.recycle();
}
}
\ No newline at end of file |