summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--refs/files-backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/refs/files-backend.c b/refs/files-backend.c
index e663781199..48f6717d9a 100644
--- a/refs/files-backend.c
+++ b/refs/files-backend.c
@@ -155,6 +155,7 @@ static void files_ref_store_release(struct ref_store *ref_store)
free_ref_cache(refs->loose);
free(refs->gitcommondir);
ref_store_release(refs->packed_ref_store);
+ free(refs->packed_ref_store);
}
static void files_reflog_path(struct files_ref_store *refs,