diff options
author | Thomas White <taw@physics.org> | 2010-02-05 17:45:10 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-05 17:45:10 +0100 |
commit | bd233188cce2c0f8203dd2a4c60eecd9abcb9bbf (patch) | |
tree | c4e054d0e959f693fbcf98d41a37bd61cad2de4c /src/pattern_sim.c | |
parent | 32f0796c1906818edb1f7cbfe57c76290fd97d56 (diff) |
Add (slow) bandwidth and multisampling
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index bfc6be37..70384250 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -247,6 +247,7 @@ int main(int argc, char *argv[]) do { int na, nb, nc; + int i; na = 8*random()/RAND_MAX + 4; nb = 8*random()/RAND_MAX + 4; @@ -302,6 +303,9 @@ int main(int argc, char *argv[]) /* Clean up */ free(image.data); + for ( i=0; i<image.nspheres; i++ ) { + free(image.qvecs[i]); + } free(image.qvecs); free(image.hdr); free(image.sfacs); |