diff options
author | René Scharfe <l.s.r@web.de> | 2016-08-13 11:05:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-13 19:45:24 -0700 |
commit | ecf30b237cb278040f18c597c1dbdbc49793094d (patch) | |
tree | 9b64ad559e899fd13d933b6e1856e38e8cccc863 /Documentation | |
parent | mailinfo: remove calls to exit() and die() deep in the callchain (diff) | |
download | tgif-ecf30b237cb278040f18c597c1dbdbc49793094d.tar.xz |
mailinfo: recycle strbuf in check_header()
handle_message_id() duplicates the contents of the strbuf that is passed
to it. Its only caller proceeds to release the strbuf immediately after
that. Reuse it instead and make that change of object ownership more
obvious by inlining this short function.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions