Patrick Steinhardt
479601e9f4
builtin/archive: fix leaking OPT_FILENAME() value
...
The "--output" switch is an `OPT_FILENAME()` option, which allocates
memory when specified by the user. But while we free the string when
executed without the "--remote" switch, we don't otherwise because we
return via a separate exit path that doesn't know to free it.
Fix this by creating a common exit path.
Signed-off-by: Patrick Steinhardt <ps@pks.im >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2024-08-22 09:18:04 -07:00
..
2024-06-05 14:53:26 -07:00
2024-07-13 18:10:49 -07:00
2024-05-21 09:07:48 -07:00
2024-08-22 09:18:04 -07:00
2024-08-09 08:47:34 -07:00
2024-07-08 14:53:10 -07:00
2024-05-20 11:20:04 -07:00
2024-06-07 10:30:48 -07:00
2024-05-06 22:50:49 -07:00
2024-06-11 13:15:05 -07:00
2024-04-18 12:30:42 -07:00
2024-06-07 10:30:48 -07:00
2024-04-18 12:30:42 -07:00
2024-08-15 13:22:15 -07:00
2024-04-18 12:30:42 -07:00
2024-08-08 09:21:39 -07:00
2024-06-11 13:15:07 -07:00
2024-08-14 10:07:58 -07:00
2024-06-06 12:49:23 -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
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-14 10:07:59 -07:00
2024-06-14 10:26:32 -07:00
2024-08-09 08:47:34 -07:00
2024-06-11 13:15:04 -07:00
2024-05-15 07:30:52 -07:00
2024-04-24 10:46:03 -07:00
2024-08-16 12:51:51 -07:00
2024-08-09 08:47:34 -07:00
2024-08-05 10:59:20 -07:00
2024-06-11 13:15:05 -07:00
2024-05-21 09:05:13 -07:00
2024-06-14 10:26:32 -07:00
2024-06-06 09:04:31 -07:00
2024-05-23 11:04:27 -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
2024-06-07 10:30:48 -07:00
2024-04-18 12:30:42 -07:00
2024-07-13 18:10:49 -07:00
2024-08-22 09:18:04 -07:00
2024-07-13 18:10:49 -07:00
2024-08-08 09:36:52 -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-20 10:15:27 -07:00
2024-08-09 08:47:34 -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
2024-07-02 09:59:00 -07:00
2024-07-12 09:14:11 -07:00
2024-04-18 12:30:42 -07:00
2024-08-14 10:07:58 -07:00
2024-08-09 08:47:34 -07:00
2024-05-17 10:33:39 -07:00
2024-08-08 09:36:53 -07:00
2024-08-15 13:22:15 -07:00
2024-08-19 11:07:37 -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-06-07 10:30:53 -07:00
2024-08-01 08:47:37 -07:00
2024-08-15 13:22:15 -07:00
2024-08-15 13:22:15 -07:00
2024-07-08 14:53:10 -07:00
2024-08-14 14:54:47 -07:00
2024-03-12 13:28:10 -07:00
2024-08-15 13:22:15 -07:00
2024-05-20 11:20:04 -07:00
2024-06-14 10:26:32 -07:00
2024-06-14 10:26:32 -07:00
2024-05-17 10:33:38 -07:00
2024-07-02 09:59:00 -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
2024-08-15 13:22:15 -07:00
2024-04-18 12:30:42 -07:00