From d75aa0efaf30562d42999b78b040e024bc9bc80c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 20 Feb 2015 13:24:28 +0100 Subject: copy_geom(): Fix obvious bug --- libcrystfel/src/detector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index dbc73591..4f58df9c 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -1728,7 +1728,7 @@ struct detector *copy_geom(const struct detector *in) if ( p->data != NULL ) { /* Make a copy of the data fields unique to this * copy of the structure. */ - p->clen_from = strdup(p->clen_from); + p->data = strdup(p->data); } if ( p->dim_structure != NULL ) { -- cgit v1.2.3