Found this code at work and my lead dev said, "It could cause a memory leak." and acted like it was no big deal.
InputStream is = ...
GZIPInputStream zis = new GZIPInputStream(new BufferedInputStream(is));
someMethod(zis);
No closing the input stream. This is in Android, so its Java 1.6 where InputStream does not implement AutoCloseable. This will cause a memory leak EVERY time it is used, correct? (and I realize this should also all be done in a try/catch/finally.)