repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Manual: C23 is now officially released
[valgrind.git]
/
memcheck
/
tests
/
doublefree.c
blob
3c27050813a09e3e73738ffe0a8af47ce7060af7
1
2
#include <stdio.h>
3
#include <stdlib.h>
4
5
int
main
(
void
)
6
{
7
int
i
;
8
void
*
p
=
malloc
(
177
);
9
for
(
i
=
0
;
i
<
2
;
i
++)
10
free
(
p
);
11
return
0
;
12
}