scripts/coccinelle/free/devm_free.cocci
0 → 100644
+71
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
devm_ functions allocate memory that is to remain allocated until the device is detached. This patch checks for freeing of such memory using standard memory freeing functions. Signed-off-by:Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by:
Michal Marek <mmarek@suse.cz>