aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/hdf5-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/hdf5-file.c')
-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 a57719cf..f717d527 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -468,7 +468,6 @@ int get_peaks(struct image *image, struct hdfile *f, const char *p)
if ( image->event != NULL ) {
np = retrieve_full_path(image->event, p);
- free(np);
} else {
np = strdup(p);
}