Files
git-mirror/builtin
Patrick Steinhardt 77241a6b5e builtin/merge: fix leaking struct cmdnames in get_strategy()
In "builtin/merge.c" we use the helper infrastructure to figure out what
merge strategies there are. We never free contents of the `cmdnames`
structures though and thus leak their memory.

Fix this by exposing the already existing `clean_cmdnames()` function to
release their memory. As this name isn't quite idiomatic, rename it to
`cmdnames_release()` while at it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-06-11 13:15:07 -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-04-18 12:30:42 -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