Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
eff8b31c03b821619773365067cb15797d23925a
/
.
/
memcheck
/
tests
/
trivialleak.c
blob: f3a8963359c52326d5ed5126c909d962abc11f04 [
file
] [
log
] [
blame
]
#include
<stdlib.h>
static
void
test
()
{
void
*
leak
;
int
i
;
for
(
i
=
0
;
i
<
1000
;
i
++)
leak
=
(
void
*)
malloc
(
1
);
}
int
main
()
{
test
();
return
0
;
}