]> git.ipfire.org Git - thirdparty/git.git/commit - config.c
coccinelle: make use of the "type" FREE_AND_NULL() rule
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 15 Jun 2017 23:15:46 +0000 (23:15 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Jun 2017 19:44:03 +0000 (12:44 -0700)
commit6a83d902073803c4141e02c53decf8c03e35da27
tree209cf1639a325875240fce3e1f1cabbdb25878df
parentcf9f49ea4817b36e93e64909a918a912cc32c28b
coccinelle: make use of the "type" FREE_AND_NULL() rule

Apply the result of the just-added coccinelle rule. This manually
excludes a few occurrences, mostly things that resulted in many
FREE_AND_NULL() on one line, that'll be manually fixed in a subsequent
change.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
37 files changed:
alias.c
apply.c
attr.c
branch.c
builtin/am.c
builtin/clean.c
builtin/config.c
builtin/index-pack.c
builtin/pack-objects.c
builtin/unpack-objects.c
commit.c
config.c
credential.c
diff-lib.c
diff.c
diffcore-rename.c
dir.c
fast-import.c
grep.c
http-push.c
http.c
imap-send.c
line-log.c
mailinfo.c
object.c
pathspec.c
read-cache.c
ref-filter.c
refs/files-backend.c
remote-testsvn.c
sequencer.c
sha1-array.c
sha1_file.c
transport-helper.c
transport.c
tree-diff.c
tree.c