summaryrefslogtreecommitdiff
path: root/builtin/show-branch.c
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2019-04-06 18:34:21 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-08 17:26:32 +0900
commit7762f44ee06f5a22254c8465a0642195f6c19658 (patch)
tree4a0d2cbc7bd791e3a49d14acd2be649edc5dafdf /builtin/show-branch.c
parentThe third batch (diff)
downloadtgif-7762f44ee06f5a22254c8465a0642195f6c19658.tar.xz
builtin rebase: use FREE_AND_NULL
Use the macro FREE_AND_NULL to release memory allocated for 'head_name' and clear its pointer. Patch generated with 'contrib/coccinelle/free.cocci' and Coccinelle v1.0.7 (previous Coccinelle versions don't notice this). Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/show-branch.c')
0 files changed, 0 insertions, 0 deletions