projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed the +
[physik/posic.git]
/
random
/
random.c
diff --git
a/random/random.c
b/random/random.c
index
df77980
..
902cdef
100644
(file)
--- a/
random/random.c
+++ b/
random/random.c
@@
-36,6
+36,7
@@
int rand_init(t_random *random,char *randomfile,int logfd) {
return -1;
}
}
+ random->buffer=NULL;
random->buffer=malloc(RAND_BUFSIZE*sizeof(unsigned int));
if(random->buffer==NULL) {
perror("malloc random buffer");