diff options
author | René Scharfe <l.s.r@web.de> | 2017-02-11 14:58:44 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-11 11:29:12 -0800 |
commit | ec6cd14c7a869b32776c1d3387afc93f369aea62 (patch) | |
tree | c7b5928a3c577c169c1fa2d0bc1f6bc7617e1fb9 /t/t6040-tracking-info.sh | |
parent | 3b9e3c2cede15057af3ff8076c45ad5f33829436 (diff) | |
download | git-rs/cocci-check-free-only-null.tar.gz |
cocci: detect useless free(3) callsrs/cocci-check-free-only-null
Add a semantic patch for removing checks that cause free(3) to only be
called with a NULL pointer, as that must be a programming mistake.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6040-tracking-info.sh')
0 files changed, 0 insertions, 0 deletions