~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correct the size of editboxes under Mac OS 8.
[sgt/putty]
/
unix
/
uxnoise.c
diff --git
a/unix/uxnoise.c
b/unix/uxnoise.c
index
873a331
..
b563f7c
100644
(file)
--- a/
unix/uxnoise.c
+++ b/
unix/uxnoise.c
@@
-62,6
+62,7
@@
void noise_get_heavy(void (*func) (void *, int))
pclose(fp);
read_random_seed(func);
+ random_save_seed();
}
void random_save_seed(void)
@@
-72,6
+73,7
@@
void random_save_seed(void)
if (random_active) {
random_get_savedata(&data, &len);
write_random_seed(data, len);
+ sfree(data);
}
}