Merge pull request #2346 from mcginty/thumbnail-early-recycle

fix early recycling of thumbnail
This commit is contained in:
Moxie Marlinspike 2015-01-13 16:21:15 -08:00
commit 778b8b490c

View File

@ -92,9 +92,7 @@ public class MediaUtil {
} }
public InputStream toDataStream() { public InputStream toDataStream() {
InputStream jpegStream = BitmapUtil.toCompressedJpeg(bitmap); return BitmapUtil.toCompressedJpeg(bitmap);
bitmap.recycle();
return jpegStream;
} }
} }
} }