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-06-05 14:53:26 -07:00
2024-08-13 10:01:01 -07:00
2024-05-21 09:07:48 -07:00
2024-08-22 09:18:04 -07:00
2024-09-05 09:07:12 -07:00
2024-07-08 14:53:10 -07:00
2024-08-13 10:01:04 -07:00
2024-08-13 10:01:01 -07:00
2024-09-03 09:15:00 -07:00
2024-09-04 09:19:04 -07:00
2024-04-18 12:30:42 -07:00
2024-06-07 10:30:48 -07:00
2024-08-27 14:51:29 -07:00
2023-06-21 13:39:53 -07:00
2023-07-05 11:42:31 -07:00
2024-04-18 12:30:42 -07:00
2024-08-23 09:02:34 -07:00
2024-04-18 12:30:42 -07:00
2024-08-23 09:02:34 -07:00
2024-02-13 10:18:50 -08:00
2024-02-08 13:20:34 -08:00
2024-06-11 13:15:07 -07:00
2024-08-16 12:50:54 -07:00
2024-09-03 09:15:04 -07:00
2024-08-13 10:01:01 -07:00
2024-05-08 10:18:44 -07:00
2024-08-01 08:47:37 -07:00
2024-08-01 08:47:36 -07:00
2024-05-27 11:20:01 -07:00
2024-08-15 13:22:15 -07:00
2024-06-07 10:30:48 -07:00
2023-12-26 12:04:31 -08:00
2024-08-22 09:29:14 -07:00
2024-08-15 13:22:16 -07:00
2024-08-14 10:08:02 -07:00
2024-07-08 14:53:10 -07:00
2024-08-14 10:07:59 -07:00
2024-08-23 09:02:34 -07:00
2024-08-22 09:18:05 -07:00
2024-09-05 09:07:12 -07:00
2024-09-05 08:49:12 -07:00
2024-05-15 07:30:52 -07:00
2024-04-24 10:46:03 -07:00
2024-08-23 09:02:34 -07:00
2023-12-26 12:04:33 -08:00
2024-09-06 10:38:52 -07:00
2024-08-05 10:59:20 -07:00
2024-09-05 08:49:12 -07:00
2024-05-21 09:05:13 -07:00
2024-09-27 08:25:34 -07:00
2024-08-13 10:01:01 -07:00
2024-09-04 07:40:00 -07:00
2024-06-06 09:04:31 -07:00
2024-09-06 09:21:44 -07:00
2024-08-14 10:08:01 -07:00
2024-03-25 11:59:24 -07:00
2024-08-14 14:54:49 -07:00
2024-06-11 13:15:05 -07:00
2023-12-26 12:04:31 -08:00
2024-06-07 10:30:48 -07:00
2024-02-29 08:06:01 -08:00
2023-11-22 14:23:06 +09:00
2024-04-18 12:30:42 -07:00
2023-06-21 13:39:53 -07:00
2024-07-13 18:10:49 -07:00
2024-08-22 09:18:04 -07:00
2024-08-13 10:01:01 -07:00
2024-08-08 09:36:52 -07:00
2023-07-05 11:42:31 -07:00
2024-08-06 12:01:39 -07:00
2024-05-30 08:55:29 -07:00
2024-08-15 13:22:15 -07:00
2024-08-23 09:02:34 -07:00
2024-09-16 14:03:30 -07:00
2024-06-14 10:26:32 -07:00
2024-03-25 09:54:07 -07:00
2024-08-14 14:54:53 -07:00
2023-03-21 10:56:51 -07:00
2023-06-29 16:43:21 -07:00
2024-09-27 08:25:35 -07:00
2024-09-05 08:49:10 -07:00
2023-12-26 12:04:31 -08:00
2024-04-18 12:30:42 -07:00
2024-08-23 09:02:34 -07:00
2024-08-23 09:02:34 -07:00
2024-05-17 10:33:39 -07:00
2024-08-08 09:36:53 -07:00
2023-03-28 14:11:24 -07:00
2023-03-28 14:11:24 -07:00
2024-08-23 14:20:07 -07:00
2024-09-16 14:03:30 -07:00
2024-08-09 08:47:34 -07:00
2024-08-14 14:54:47 -07:00
2024-08-01 08:47:37 -07:00
2024-05-16 10:10:14 -07:00
2024-06-11 13:15:05 -07:00
2024-08-15 13:22:15 -07:00
2024-06-07 10:30:48 -07:00
2024-06-14 10:26:32 -07:00
2024-08-22 09:18:05 -07:00
2024-08-01 08:47:37 -07:00
2024-08-15 13:22:15 -07:00
2023-06-21 13:39:53 -07:00
2024-08-15 13:22:15 -07:00
2024-09-06 08:02:26 -07:00
2024-09-05 09:07:12 -07:00
2024-03-12 13:28:10 -07:00
2024-09-27 08:25:35 -07:00
2024-05-20 11:20:04 -07:00
2024-09-05 08:49:11 -07:00
2023-07-05 11:41:59 -07:00
2024-06-14 10:26:32 -07:00
2024-08-13 10:01:03 -07:00
2024-08-17 09:46:10 -07:00
2023-06-21 13:39:53 -07:00
2024-08-22 09:18:04 -07:00
2024-04-29 20:42:30 +02:00
2024-07-13 16:23:37 -07:00
2023-12-26 12:04:31 -08:00
2023-06-21 13:39:54 -07:00
2023-12-26 12:04:31 -08:00
2024-08-23 09:02:34 -07:00
2024-04-18 12:30:42 -07:00