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

This commit is contained in:
Robin Rosenberg 2010-04-24 08:19:01 -04:00 committed by Code Review
commit 4ef96296f7
1 changed files with 0 additions and 1 deletions

View File

@ -120,7 +120,6 @@ private UnpackedObjectLoader(final byte[] compressed, final AnyObjectId id)
final CorruptObjectException coe; final CorruptObjectException coe;
coe = new CorruptObjectException(id, "bad stream"); coe = new CorruptObjectException(id, "bad stream");
coe.initCause(dfe); coe.initCause(dfe);
inflater.end();
throw coe; throw coe;
} }
if (avail < 5) if (avail < 5)