Johannes Schindelin
03a4e260e2
sequencer: plug memory leaks for the option values
...
The sequencer is our attempt to lib-ify cherry-pick. Yet it behaves
like a one-shot command when it reads its configuration: memory is
allocated and released only when the command exits.
This is kind of okay for git-cherry-pick, which *is* a one-shot
command. All the work to make the sequencer its work horse was
done to allow using the functionality as a library function, though,
including proper clean-up after use.
To remedy that, take custody of the option values in question,
allocating and duping literal constants as needed and freeing them
at end.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2016-10-21 09:31:53 -07:00
..
2016-09-15 12:13:54 -07:00
2016-09-19 13:47:19 -07:00
2016-09-07 12:59:42 -07:00
2016-10-06 14:53:10 -07:00
2016-09-15 13:17:32 -07:00
2016-09-26 11:46:41 -07:00
2016-02-01 13:43:02 -08:00
2016-02-01 13:43:02 -08:00
2016-01-15 10:12:51 -08:00
2016-02-22 14:51:09 -08:00
2016-09-22 13:42:18 -07:00
2016-09-26 16:09:21 -07:00
2016-02-26 13:37:16 -08:00
2016-10-03 13:30:35 -07:00
2016-01-15 10:35:07 -08:00
2016-09-07 12:59:43 -07:00
2016-10-17 11:52:23 -07:00
2016-09-15 13:17:32 -07:00
2015-11-20 08:02:05 -05:00
2016-05-13 14:35:49 -07:00
2016-05-13 14:35:49 -07:00
2016-06-06 14:27:35 -07:00
2016-09-21 15:15:24 -07:00
2016-06-28 11:39:02 -07:00
2016-03-01 11:19:19 -08:00
2016-08-03 15:10:28 -07:00
2016-09-15 12:23:38 -07:00
2015-09-17 10:02:49 -07:00
2016-09-07 12:59:42 -07:00
2016-09-21 15:15:30 -07:00
2015-10-16 15:27:52 -07:00
2016-09-07 12:59:42 -07:00
2016-09-13 15:45:45 -07:00
2016-08-30 16:09:41 -07:00
2016-08-24 12:31:05 -07:00
2016-10-03 13:30:35 -07:00
2016-06-13 10:37:48 -07:00
2016-09-26 16:09:17 -07:00
2016-09-07 12:59:42 -07:00
2016-01-19 10:07:56 -08:00
2015-09-25 10:18:18 -07:00
2015-10-21 15:59:34 -07:00
2016-06-06 11:14:43 -07:00
2016-02-22 14:51:09 -08:00
2016-05-09 12:29:08 -07:00
2016-09-07 12:59:42 -07:00
2016-09-15 13:17:32 -07:00
2016-04-25 14:23:42 -07:00
2016-09-15 12:23:38 -07:00
2015-10-16 15:27:52 -07:00
2016-02-26 13:37:16 -08:00
2016-10-03 13:30:33 -07:00
2016-05-31 14:08:26 -07:00
2016-09-15 13:17:32 -07:00
2016-09-21 15:15:21 -07:00
2016-02-22 14:51:09 -08:00
2016-06-03 14:38:03 -07:00
2015-11-03 15:32:25 -08:00
2016-07-13 11:24:10 -07:00
2016-07-14 15:50:41 -07:00
2016-09-07 12:59:42 -07:00
2016-09-26 11:46:41 -07:00
2016-04-25 14:23:42 -07:00
2016-05-06 13:16:37 -07:00
2016-07-25 14:13:33 -07:00
2016-07-13 11:24:10 -07:00
2016-05-06 14:53:24 -07:00
2015-10-05 13:20:08 -07:00
2016-09-07 12:59:43 -07:00
2016-08-31 18:07:09 -07:00
2016-09-27 10:59:28 -07:00
2016-10-21 09:31:53 -07:00
2016-09-07 12:59:42 -07:00
2016-04-29 14:15:57 -07:00
2016-07-19 13:22:15 -07:00
2016-09-15 13:17:32 -07:00
2015-11-20 08:02:07 -05:00
2016-01-29 16:02:34 -08:00
2016-10-06 14:53:12 -07:00
2016-09-02 09:01:38 -07:00
2016-04-29 12:59:09 -07:00
2015-09-25 10:18:18 -07:00
2016-08-24 12:31:05 -07:00
2016-09-26 16:09:20 -07:00
2016-05-09 12:29:08 -07:00
2016-04-22 14:06:46 -07:00
2016-09-27 10:51:33 -07:00