git/builtin
Ævar Arnfjörð Bjarmason 37766b61cd tag: use a "goto cleanup" pattern, leak less memory
Change cmd_tag() to free its "struct strbuf"'s instead of using an
UNLEAK() pattern. This changes code added in 886e1084d78 (builtin/:
add UNLEAKs, 2017-10-01).

As shown in the context of the declaration of the "struct
msg_arg" (which I'm changing to use a designated initializer while at
it, and to show the context in this change), that struct is just a
thin wrapper around an int and "struct strbuf".

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-10-20 11:36:13 -07:00
..
2021-10-13 15:15:57 -07:00
2020-07-30 19:18:06 -07:00
2020-10-16 12:30:45 -07:00
2021-02-25 16:43:30 -08:00
2021-02-25 16:43:30 -08:00
2021-07-28 13:17:59 -07:00
2021-10-11 10:21:48 -07:00
2020-03-24 15:04:43 -07:00
2021-06-02 07:34:27 +09:00
2021-09-23 13:44:46 -07:00
2021-10-13 15:15:58 -07:00
2021-04-14 13:47:21 -07:00
2021-10-13 15:15:57 -07:00
2021-09-28 10:31:02 -07:00
2020-03-24 15:04:44 -07:00
2021-10-18 15:47:57 -07:00
2021-01-25 14:19:19 -08:00
2020-07-30 19:18:06 -07:00
2020-08-11 18:04:11 -07:00
2019-06-19 08:19:21 -07:00