diff options
Diffstat (limited to 'thirdparty/nRF5_SDK_15.0.0_a53641a/external/mbedtls/scripts/rm-malloc-cast.cocci')
-rw-r--r-- | thirdparty/nRF5_SDK_15.0.0_a53641a/external/mbedtls/scripts/rm-malloc-cast.cocci | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/thirdparty/nRF5_SDK_15.0.0_a53641a/external/mbedtls/scripts/rm-malloc-cast.cocci b/thirdparty/nRF5_SDK_15.0.0_a53641a/external/mbedtls/scripts/rm-malloc-cast.cocci new file mode 100644 index 0000000..9337dc5 --- /dev/null +++ b/thirdparty/nRF5_SDK_15.0.0_a53641a/external/mbedtls/scripts/rm-malloc-cast.cocci @@ -0,0 +1,7 @@ +@rm_malloc_cast@ +expression x, n; +type T; +@@ + x = +- (T *) + mbedtls_malloc(n) |