mbedtls/scripts/find-mem-leak.cocci

10 lines
134 B
Text
Raw Normal View History

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