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