summaryrefslogtreecommitdiffstats
path: root/coccinelle/mfree.cocci (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cocci: merge mfree.cocci and mfree_return.cocci (#30838)AtariDreams2024-01-091-0/+29
| | | It makes sense that these should be one file instead of two, as they both involve mfree()
* licensing: add spdx to our .cocci filesZbigniew Jędrzejewski-Szmek2021-10-011-0/+1
| | | | | Since those are chunks of code based on our codebase, it's easiest to use the same license.
* tree-wide: use coccinelle to patch a lot of code to use mfree()Lennart Poettering2015-09-091-0/+6
This replaces this: free(p); p = NULL; by this: p = mfree(p); Change generated using coccinelle. Semantic patch is added to the sources.