diff options
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index 70384250..5fd71fc1 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -247,7 +247,6 @@ 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; @@ -270,7 +269,6 @@ int main(int argc, char *argv[]) } /* Ensure no residual information */ - image.qvecs = NULL; image.sfacs = NULL; image.data = NULL; image.twotheta = NULL; @@ -303,10 +301,6 @@ 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); free(image.twotheta); |