mirror of
https://github.com/git/git.git
synced 2026-01-11 10:38:53 +00:00
Merge branch 'ss/packed-ref-store-leakfix'
Leakfix. * ss/packed-ref-store-leakfix: refs/files: prevent memory leak by freeing packed_ref_store
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user