tools: add asprintf to checkxalloc script
Reported-By: Dave Reisner <d@falconindy.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
6500ec90de
commit
bb9da58e80
|
@ -10,7 +10,7 @@ cd "$(git rev-parse --show-toplevel)" || {
|
|||
}
|
||||
|
||||
git grep -zl '#include "xalloc.h"' |
|
||||
xargs -0 grep -nwE '[^x](([cm]|re)alloc|strdup)\('
|
||||
xargs -0 grep -nwE '[^x](([cm]|re)alloc|strdup|asprintf)\('
|
||||
|
||||
result=$?
|
||||
|
||||
|
|
Loading…
Reference in New Issue