]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
coccinelle: ifnullfree: handle various destroy functions
authorJulia Lawall <Julia.Lawall@lip6.fr>
Mon, 26 Oct 2015 21:28:26 +0000 (22:28 +0100)
committerMichal Marek <mmarek@suse.cz>
Mon, 26 Oct 2015 21:41:18 +0000 (22:41 +0100)
commit4743775c6de44b3c36e15bcab2dee928b6361a16
tree5bf2da40ed2744dae5bee547edcbefbd9899d23c
parentca047e715c638eacf58cb830c3ef36cecc45c3f8
coccinelle: ifnullfree: handle various destroy functions

Extend ifnullfree to the various destroy functions that were recently
extended to tolerate NULL arguments.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccinelle/free/ifnullfree.cocci