libest icon indicating copy to clipboard operation
libest copied to clipboard

Remove unnecessary null pointer checks

Open elfring opened this issue 10 years ago • 0 comments

An extra null pointer check is not needed in functions like the following.

Would you like to apply the following semantic patch to find more update candidates?

@Remove_unnecessary_pointer_checks@
expression x;
@@
-if (x)
    free(x);

elfring avatar Aug 30 '15 09:08 elfring