TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls
/
961c626d6d494cc520777498536239cd93623568
/
.
/
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