Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
1b96ee6f6268af4e6eb3b47ab19313c497591ee2
/
.
/
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
;
}