aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-10-05 14:46:07 +0200
committerThomas White <taw@physics.org>2015-10-05 18:03:18 +0200
commit71dd3502f03a4ac8037be3c00f7b84d70176b01b (patch)
tree2dc4f8e7ee6f17fce9b23e65d2e1a4fcbd8122f1
parent676c98cd1417b0b73081a079f7feb0abc42aac52 (diff)
process_image(): Remove image->data
-rw-r--r--src/process_image.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/process_image.c b/src/process_image.c
index e7e3aa78..4fd19176 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -135,8 +135,6 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
int any_crystals;
image.features = NULL;
- image.data = NULL;
- image.flags = NULL;
image.copyme = iargs->copyme;
image.id = cookie;
image.filename = pargs->filename_p_e->filename;
@@ -343,8 +341,6 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
free(image.dp);
free(image.bad);
- free(image.data);
- if ( image.flags != NULL ) free(image.flags);
image_feature_list_free(image.features);
free_detector_geometry(image.det);
hdfile_close(hdfile);