Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
d94b90a598fb7e83350ef7d5d29e2de7bcf4d37e
/
.
/
memcheck
/
tests
/
doublefree.c
blob: 3c27050813a09e3e73738ffe0a8af47ce7060af7 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
int
main
(
void
)
{
int
i
;
void
*
p
=
malloc
(
177
);
for
(
i
=
0
;
i
<
2
;
i
++)
free
(
p
);
return
0
;
}