Subject: ab/plug-random-leaks (was Re: What's cooking in git.git (Mar 2022, #01; Thu, 3))

From: Derrick Stolee <[email-masked]>
Date: Fri, 4 Mar 2022 08:25:56 -0500

On 3/3/2022 11:31 PM, Junio C Hamano wrote:

> * ab/plug-random-leaks (2022-03-02) 14 commits
>  - repository.c: free the "path cache" in repo_clear()
>  - range-diff: plug memory leak in read_patches()
>  - range-diff: plug memory leak in common invocation
>  - lockfile API users: simplify and don't leak "path"
>  - commit-graph: stop fill_oids_from_packs() progress on error and free()
>  - commit-graph: fix memory leak in misused string_list API
>  - submodule--helper: fix trivial leak in module_add()
>  - transport: stop needlessly copying bundle header references
>  - bundle: call strvec_clear() on allocated strvec
>  - remote-curl.c: free memory in cmd_main()
>  - urlmatch.c: add and use a *_release() function
>  - diff.c: free "buf" in diff_words_flush()
>  - merge-base: free() allocated "struct commit **" list
>  - index-pack: fix memory leaks
> 
>  Plug random memory leaks.
> 
>  Will merge to 'next'.
>  source: <[email-masked]>

This series needs a re-roll before it gets merged. There is
a correctness issue in this patch:

>  - transport: stop needlessly copying bundle header references

Thanks,
-Stolee