haproxy/dev/coccinelle/ha_free.cocci
2021-11-05 07:48:38 +01:00

7 lines
64 B
Plaintext

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