diff options
author | René Scharfe <l.s.r@web.de> | 2024-09-22 15:40:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-09-23 10:03:59 -0700 |
commit | ff0eb72fb62919b744dba2c41f09e01d494971df (patch) | |
tree | d0ae7b7a50fe9b734899d7aee5bc2b459dab8b4c /compat/regex/regex.c | |
parent | 94b60adee30619a05296cf5ed6addb0e6d4e25dc (diff) |
commit-graph: remove unnecessary UNLEAK
When f4dbdfc4d5 (commit-graph: clean up leaked memory during write,
2018-10-03) added the UNLEAK, it was right before a call to die_errno().
e103f7276f (commit-graph: return with errors during write, 2019-06-12)
made it unnecessary, as it was then followed by a free() call for the
allocated string.
The code moved to write_commit_graph_file() in the meantime and the
string pointer is now part of a struct, but the function's only caller
still cleans up the allocation. Drop the superfluous UNLEAK.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regex.c')
0 files changed, 0 insertions, 0 deletions