summaryrefslogtreecommitdiffstats
path: root/contrib/coccinelle/xstrdup_or_null.cocci
blob: 9c1d2939b61f0a588f6b611084b68c1cc7a0cef8 (plain)
1
2
3
4
5
@@
expression E;
@@
- xstrdup(absolute_path(E))
+ absolute_pathdup(E)