summaryrefslogtreecommitdiffstats
path: root/cocci/isc_mem_putanddetach.spatch
blob: 0f29779158b0233bbe4301a14ed9092d1fa1c312 (plain)
1
2
3
4
5
6
7
8
@@
expression M;
expression E1, E2;
@@

- isc_mem_put(M, E1, E2);
- isc_mem_detach(&M);
+ isc_mem_putanddetach(&M, E1, E2);