aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-09-07 16:28:01 +0200
committerThomas White <taw@physics.org>2021-09-07 16:28:01 +0200
commit8ad898c4308f9f2e9a7b6f6b93808f5353f3d2bb (patch)
treeb6f8364bdb2e5689db4b64c46bc77e0811610469 /libcrystfel
parenta947825bd07f11c6fa6e5e762dcfa9e852458ce5 (diff)
image_hdf5_read_header_to_cache: Remove double free on error path
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/image-hdf5.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcrystfel/src/image-hdf5.c b/libcrystfel/src/image-hdf5.c
index 43333e43..cbbc3012 100644
--- a/libcrystfel/src/image-hdf5.c
+++ b/libcrystfel/src/image-hdf5.c
@@ -971,7 +971,6 @@ int image_hdf5_read_header_to_cache(struct image *image, const char *name)
subst_name);
free(subst_name);
close_hdf5(fh);
- free(subst_name);
return 1;
} else {