Files
git/builtin
Patrick Steinhardt 49af1b7722 builtin/pull: fix leaking "ff" option
The `opt_ff` field gets populated either via `OPT_PASSTHRU` via
`config_get_ff()` or when `--rebase` is passed. So we sometimes end up
overriding the value in `opt_ff` with another value, but we do not free
the old value, causing a memory leak.

Adapt the type of the variable to be `char *` and consistently assign
allocated strings to it such that we can easily free it when it is being
overridden.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-09-27 08:25:35 -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-07-08 14:53:10 -07:00
2024-09-06 10:38:52 -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