summaryrefslogtreecommitdiff
path: root/xdiff/xmerge.c
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2018-10-04 11:07:43 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-04 22:48:12 -0700
commitfe4516d103e69e74513be33f78768ac43acf3daa (patch)
tree617b37a74c95a17528b4a71f98f0848fc7fe93b1 /xdiff/xmerge.c
parentdiff --color-moved-ws: fix out of bounds string access (diff)
downloadtgif-fe4516d103e69e74513be33f78768ac43acf3daa.tar.xz
diff --color-moved-ws: fix a memory leak
Don't duplicate the indentation string if we're not going to use it. This was found with asan. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xmerge.c')
0 files changed, 0 insertions, 0 deletions