git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Derrick Stolee <derrickstolee@github.com>
Date
Mar 4, 2022, 13:25 UTC
Message-ID
<5f8740bd-c0b7-a8e1-4d73-b79b40cc02e9@github.com>
In-Reply-To
<xmqqv8wu2vag.fsf@gitster.g>
On 3/3/2022 11:31 PM, Junio C Hamano wrote:
Show 20 quoted lines
> * 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: <cover-00.14-00000000000-20220302T170718Z-avarab@gmail.com>

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

Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 2 of 22 in “What's cooking in git.git (Mar 2022, #01; Thu, 3)”
  1. Junio C HamanoMar 4, 2022
  2. ab/plug-random-leaks (was Re: What's cooking in git.git (Mar 2022, #01; Thu, 3))Derrick Stolee, Mar 4, 2022
  3. Ævar Arnfjörð BjarmasonMar 4, 2022
  4. tests: test show --word-diff --color-movedMichael J Gruber, Mar 17, 2022
  5. 0/2 diff.c: fix a recent memory leak regressionÆvar Arnfjörð Bjarmason, Mar 17, 2022
  6. 2/2 diff.c: fix a double-free regression in a18d66cefbÆvar Arnfjörð Bjarmason, Mar 17, 2022
  7. 1/2 tests: demonstrate "show --word-diff --color-moved" regressionÆvar Arnfjörð Bjarmason, Mar 17, 2022
  8. Junio C HamanoMar 17, 2022
  9. tb/cruft-packs (was Re: What's cooking in git.git (Mar 2022, #01; Thu, 3))Derrick Stolee, Mar 4, 2022
  10. Jonathan NiederMar 7, 2022
  11. Taylor BlauMar 7, 2022
  12. Derrick StoleeMar 7, 2022
  13. Jonathan NiederMar 7, 2022
  14. Derrick StoleeMar 7, 2022
  15. Junio C HamanoMar 7, 2022
  16. Taylor BlauMar 8, 2022
  17. Junio C HamanoMar 8, 2022
  18. Taylor BlauMar 8, 2022
  19. jc/stash-drop (was: What's cooking in git.git (Mar 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Mar 5, 2022
  20. Junio C HamanoMar 7, 2022
  21. ds/commit-graph-gen-v2-fixes (was Re: What's cooking in git.git (Mar 2022, #01; Thu, 3))Derrick Stolee, Mar 7, 2022
  22. Junio C HamanoMar 7, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.