aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2025-06-20 11:47:48 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2025-06-20 11:47:48 +0200
commit46d0d1b40b147e4282043a6c404947166c71be93 (patch)
tree6235645d4c57abfd931e852f1176e538300b54f8
parenteb82500ca69a1177aab7c0d557dc869aabd3e9d6 (diff)
parent18ac443a8b8d21bbbc5462945ffe35bdd51b27e3 (diff)
downloadjgit-46d0d1b40b147e4282043a6c404947166c71be93.tar.gz
jgit-46d0d1b40b147e4282043a6c404947166c71be93.zip
Merge branch 'stable-7.3'
* stable-7.3: Fix: Close the "preserved" PackDirectory Change-Id: I436d2982ed902e2a8483f4476c0573c22f34b876
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java
index 9f21481a13..3a6de4e8e2 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java
@@ -200,6 +200,7 @@ public class ObjectDirectory extends FileObjectDatabase {
loose.close();
packed.close();
+ preserved.close();
// Fully close all loaded alternates and clear the alternate list.
AlternateHandle[] alt = alternates.get();