Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
d94b90a598fb7e83350ef7d5d29e2de7bcf4d37e
/
.
/
memcheck
/
tests
/
leak-regroot.c
blob: 05cd774aa06a3ed699f345649963430dd41e842c [
file
] [
log
] [
blame
]
#include
"../memcheck.h"
#include
<stdlib.h>
int
main
()
{
register
char
*
foo
/* asm("esi") */
;
foo
=
malloc
(
10
);
/* not leaked */
VALGRIND_DO_LEAK_CHECK
;
free
(
foo
);
return
0
;
}