Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
a18e2107fb637af24c7834cd6ac63dfe03bd2e29
/
.
/
tests
/
trivialleak.c
blob: 002a48a91aaeb20b2dd444dbeb5a7ee1a00fdf9a [
file
] [
log
] [
blame
]
static
void
test
()
{
void
*
leak
;
int
i
;
for
(
i
=
0
;
i
<
1000
;
i
++)
leak
=
(
void
*)
malloc
(
100
);
}
int
main
()
{
test
();
return
0
;
}