...
Automated Detection
The Coverity Prevent Version 5.0 BAD_FREE checker identifies calls to free()
where the argument is a pointer to a function or an array. Coverity Prevent cannot discover all violations of this rule, so further verification is necessary.
...