aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/hdf5-file.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-04-01 13:33:41 +0200
committerThomas White <taw@physics.org>2016-04-01 13:33:41 +0200
commit52a9c0b1a891f2adfbcdbe4d69b070e837b8e7cb (patch)
treed96349f37a6f1985c975d7a44211c2b0b893c7f0 /libcrystfel/src/hdf5-file.c
parent4a4d3dedf618656f55c3e268b08fa5c987ee8ba8 (diff)
Fix silly bugs and tidy up
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);
}