Remove unnecessary null pointer checks
Created by: elfring
Extra null pointer checks are not needed at a few source code places. How do you think about to apply a corresponding update suggestion which could be generated by the software “Coccinelle”?
@Remove_unnecessary_pointer_checks@
expression x;
@@
-if (\(x != 0 \| x != NULL\))
free(x);