mbedtls/scripts/find-mem-leak.cocci
2015-02-17 13:07:29 -05:00

10 lines
134 B
Plaintext

@@
expression x, y;
statement S;
@@
x = polarssl_malloc(...);
y = polarssl_malloc(...);
...
* if (x == NULL || y == NULL)
S