summaryrefslogtreecommitdiffstats
path: root/dev/coccinelle/xalloc_cast.cocci
blob: 75baa0022c8408945d13f17a8fad1314d0ade9d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
@@
type T;
@@

- (T*)
(
malloc
|
calloc
)
  (...)