Browse Source

Merge "Fix NPE during InflaterCache return after corrupt loose object"

stable-0.8
Robin Rosenberg 15 years ago committed by Code Review
parent
commit
4ef96296f7
  1. 1
      org.eclipse.jgit/src/org/eclipse/jgit/lib/UnpackedObjectLoader.java

1
org.eclipse.jgit/src/org/eclipse/jgit/lib/UnpackedObjectLoader.java

@ -120,7 +120,6 @@ public class UnpackedObjectLoader extends ObjectLoader {
final CorruptObjectException coe;
coe = new CorruptObjectException(id, "bad stream");
coe.initCause(dfe);
inflater.end();
throw coe;
}
if (avail < 5)

Loading…
Cancel
Save