Remove malloc references in mbedtls/scripts
This commit is contained in:
parent
f2a597fa3d
commit
fe9483184f
4 changed files with 11 additions and 81 deletions
7
scripts/rm-calloc-cast.cocci
Normal file
7
scripts/rm-calloc-cast.cocci
Normal file
|
@ -0,0 +1,7 @@
|
|||
@rm_calloc_cast@
|
||||
expression x, n, m;
|
||||
type T;
|
||||
@@
|
||||
x =
|
||||
- (T *)
|
||||
mbedtls_calloc(n, m)
|
Loading…
Add table
Add a link
Reference in a new issue