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