diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java index 5b54891cd..de52a4bb3 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java @@ -529,7 +529,7 @@ public abstract class PackParser { } finally { try { if (readCurs != null) - readCurs.release(); + readCurs.close(); } finally { readCurs = null; }