Files
git/builtin
Patrick Steinhardt fbf7a46d88 builtin/blame: fix leaking ignore revs files
When parsing the blame configuration we add "blame.ignoreRevsFile"
configs to a string list. This string list is declared as with `NODUP`,
and thus we hand over the allocated string to that list. We eventually
end up calling `string_list_clear()` on that list, but due to it being
declared as `NODUP` we will not release the associated strings and thus
leak memory.

Fix this issue by setting up the list as `DUP` instead and free the
config string after insertion.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-06-11 13:15:08 -07:00
..
2024-05-08 10:18:44 -07:00
2024-05-21 09:07:48 -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-04-18 12:30:42 -07:00
2024-02-13 10:18:50 -08:00
2024-04-18 12:30:42 -07:00
2024-02-12 09:32:41 -08:00
2024-05-17 10:33:39 -07:00
2024-04-19 12:38:42 +02:00
2024-01-08 14:05:15 -08:00
2024-04-18 12:30:42 -07:00
2024-06-11 13:15:08 -07:00
2024-06-11 13:15:08 -07:00
2024-04-18 12:30:42 -07:00
2024-05-17 10:33:39 -07:00
2024-04-18 12:30:42 -07:00
2024-06-11 13:15:06 -07:00
2024-05-20 11:20:04 -07:00
2024-04-29 20:42:30 +02:00
2024-05-17 10:33:39 -07:00
2024-04-18 12:30:42 -07:00