repo.or.cz
/
aesalon.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Kind-of worked on the R-Tree; not really enough time to do much.
[aesalon.git]
/
tests
/
mallocTest5.c
blob
a94853c75b3830200a836c8dc77b03289b530ffa
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
int
main
(
int
argc
,
char
*
argv
[]) {
5
int
i
;
6
for
(
i
=
0
;
i
<
5
;
i
++) {
7
char
*
block
=
malloc
(
sizeof
(
char
) *
1024
);
8
printf
(
"---- mallocTest: block address: %p
\n
"
,
block
);
9
free
(
block
);
10
}
11
return
0
;
12
}
13