Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
995b6f94857d2915a846b603de2a51fee0c80944
/
.
/
exp-omega
/
tests
/
scope5.c
blob: 23f072eff09803813a4930f8599c9c37d94bf4e9 [
file
] [
log
] [
blame
]
#include
<stdlib.h>
static
void
func1
(
void
)
{
char
*
pointer
=
0
;
pointer
=
malloc
(
64
);
/* Line 7 */
return
;
}
/* Leak report here Line 10 */
int
main
(
int
argc
,
char
*
argv
[])
{
int
i
=
0
;
for
(
i
=
0
;
i
<
5
;
i
++)
{
func1
();
}
return
0
;
}