mirror of
https://github.com/git/git.git
synced 2024-11-01 06:47:52 +01:00
0078a75985
A new coccinelle rule that catches a check of !pointer before the pointer is free(3)d, which most likely is a bug. * rs/cocci-check-free-only-null: cocci: detect useless free(3) calls |
||
---|---|---|
.. | ||
.gitignore | ||
array.cocci | ||
free.cocci | ||
object_id.cocci | ||
qsort.cocci | ||
README | ||
strbuf.cocci | ||
swap.cocci | ||
xstrdup_or_null.cocci |
This directory provides examples of Coccinelle (http://coccinelle.lip6.fr/) semantic patches that might be useful to developers.