Commit 961c626d authored by Mansour Moufid's avatar Mansour Moufid
Browse files

Add a semantic patch to find potential memory leaks.

parent bd1d44e2
@@
expression x, y;
statement S;
@@
x = polarssl_malloc(...);
y = polarssl_malloc(...);
...
* if (x == NULL || y == NULL)
S
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment