TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls
/
f81088bb80a35644f15bf19fccb71556cee10fe4
/
.
/
scripts
/
find-mem-leak.cocci
blob: a3f7ca99c87d421bc0e456fbd807b49efe82ecd1 [
file
] [
log
] [
blame
]
Mansour Moufid
961c626
2015-02-17 13:07:29 -0500
[
diff
] [
blame
]
1
@@
2
expression x
,
y
;
3
statement S
;
4
@@
5
x
=
polarssl_malloc
(...);
6
y
=
polarssl_malloc
(...);
7
...
8
*
if
(
x
==
NULL
||
y
==
NULL
)
9
S