git/builtin
Patrick Steinhardt 84e9fc361d builtin/maintenance: fix leaking config string
When parsing the maintenance strategy from config we allocate a config
string, but do not free it after parsing it. Plug this leak by instead
using `git_config_get_string_tmp()`, which does not allocate any memory.

This leak is exposed by t7900, but plugging it alone does not make the
test suite pass.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-09-27 08:25:37 -07:00
..
2020-07-30 19:18:06 -07:00
2024-05-21 09:07:48 -07:00
2024-07-08 14:53:10 -07:00
2024-09-03 09:15:00 -07:00
2024-04-18 12:30:42 -07:00
2024-04-18 12:30:42 -07:00
2024-04-18 12:30:42 -07:00
2024-02-13 10:18:50 -08:00
2024-09-03 09:15:04 -07:00
2024-04-18 12:30:42 -07:00
2024-05-30 08:55:29 -07:00
2024-08-14 14:54:53 -07:00
2024-09-27 08:25:35 -07:00
2024-04-18 12:30:42 -07:00
2024-05-17 10:33:39 -07:00
2024-08-08 09:36:53 -07:00
2024-08-09 08:47:34 -07:00
2024-08-14 14:54:47 -07:00
2024-04-29 20:42:30 +02:00
2024-04-18 12:30:42 -07:00