aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/hdf5-file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c
index c5ac5efc..09a8109e 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -1168,7 +1168,6 @@ int hdf5_read2(struct hdfile *f, struct image *image, struct event *ev,
ERROR("Panel name: %s. Data size: %i,%i. "
"Geometry size: %i,%i\n",
p->name, data_width, data_height, p->w, p->h);
- hdfile_close(f);
return 1;
}