diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-05-04 13:55:38 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 03:18:19 (GMT) |
commit | 5748693b9123f55363211d18e8074db5e1b8384e (patch) | |
tree | 399bd14bc8d4ac40f8426163ba44e500041f5063 /ll-merge.h | |
parent | b6b066adf9e1e970a6d8295db630ab1e1f3bc71c (diff) | |
download | git-5748693b9123f55363211d18e8074db5e1b8384e.zip git-5748693b9123f55363211d18e8074db5e1b8384e.tar.gz git-5748693b9123f55363211d18e8074db5e1b8384e.tar.bz2 |
add_commit_patch_id(): avoid allocating memory unnecessarily
It would appear that we allocate (and forget to release) memory if the
patch ID is not even defined.
Reported by the Coverity tool.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'll-merge.h')
0 files changed, 0 insertions, 0 deletions