haproxy/dev/coccinelle/ha_free.cocci

7 lines
64 B
Plaintext

@ rule @
expression E;
@@
- free(E);
- E = NULL;
+ ha_free(&E);