1 /// Free of a structure field
4 // Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. GPLv2.
5 // Copyright: (C) 2019 Quentin Young. GPLv2.
6 // URL: http://coccinelle.lip6.fr/
8 // Options: --no-includes --include-headers
14 @r depends on context || report || org @
22 @script:python depends on org@
26 cocci.print_main("XFREE",p)
28 @script:python depends on report@
32 msg = "ERROR: invalid free of structure field"
33 coccilib.report.print_report(p[0],msg)