mirror of
https://github.com/git/git
synced 2024-09-29 21:27:13 +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:
commit
81903d0472
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue