Files
git/builtin
Patrick Steinhardt a75dc71f37 builtin/pack-refs: release allocated memory
Some of the command line options in `cmd_pack_refs()` require us to
allocate memory. This memory is never released and thus leaking, but we
paper over this leak by declaring the respective variables as `static`
function-level variables, which is somewhat awkward.

Refactor the code to release the allocated memory and drop the `static`
declaration. While at it, remove the useless `flags` variable.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-03-25 09:54:07 -07:00
..
2024-03-07 15:59:41 -08:00
2020-07-30 19:18:06 -07:00
2024-02-13 10:18:50 -08:00
2024-01-29 10:27:53 -08:00
2024-02-12 09:32:41 -08:00
2024-01-18 12:17:42 -08:00
2023-07-06 11:54:48 -07:00
2024-01-08 14:05:15 -08:00
2024-02-26 09:35:40 -08:00
2023-07-06 11:54:48 -07:00
2024-03-07 15:59:41 -08:00
2023-07-06 11:54:46 -07:00
2024-02-27 16:04:32 -08:00
2024-01-18 12:17:41 -08:00