Merge branch 'rs/cocci-check-free-only-null'
commit0078a7598518a66c085311a11a0f25203b9ecce6
authorJunio C Hamano <gitster@pobox.com>
Thu, 16 Feb 2017 22:45:13 +0000 (16 14:45 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Feb 2017 22:45:13 +0000 (16 14:45 -0800)
tree899b4ab69e3658f2f8b88739e0b0e29d650c2120
parent5a98255dec1578cc6dc3f25e85d7ea96028687b7
parentec6cd14c7a869b32776c1d3387afc93f369aea62
Merge branch 'rs/cocci-check-free-only-null'

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