git/contrib/coccinelle/xstrdup_or_null.cocci

6 lines
70 B
Plaintext

@@
expression E;
@@
- xstrdup(absolute_path(E))
+ absolute_pathdup(E)