diff options
Diffstat (limited to 'cocci/isc_mem_putanddetach.spatch')
-rw-r--r-- | cocci/isc_mem_putanddetach.spatch | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cocci/isc_mem_putanddetach.spatch b/cocci/isc_mem_putanddetach.spatch new file mode 100644 index 0000000..0f29779 --- /dev/null +++ b/cocci/isc_mem_putanddetach.spatch @@ -0,0 +1,8 @@ +@@ +expression M; +expression E1, E2; +@@ + +- isc_mem_put(M, E1, E2); +- isc_mem_detach(&M); ++ isc_mem_putanddetach(&M, E1, E2); |