haproxy/dev/coccinelle/ha_free.cocci

7 lines
64 B
Plaintext
Raw Normal View History

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