diff options
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 6c01f95e..40d7cbd8 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -263,8 +263,7 @@ static struct image *get_simage(struct image *template, int alternate) image->f0 = template->f0; /* Prevent muppetry */ - image->cpeaks = NULL; - image->n_cpeaks = 0; + image->reflections = NULL; return image; } @@ -326,8 +325,7 @@ static void process_image(void *pp, int cookie) image.indexed_cell = NULL; image.id = cookie; image.filename = filename; - image.cpeaks = NULL; - image.n_cpeaks = 0; + image.reflections = NULL; image.det = pargs->static_args.det; STATUS("Processing '%s'\n", image.filename); @@ -434,7 +432,7 @@ done: free(image.data); free(image.flags); image_feature_list_free(image.features); - free(image.cpeaks); + reflist_free(image.reflections); hdfile_close(hdfile); } |