aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-26 17:10:56 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commit6143dd9d781ac115ca6c290533792476b4fc289a (patch)
treef3a7dda1150e838e0527bfc2ca237e579ee0b13f /src/partialator.c
parent21acbb9efcbc5158f62e43d025db1ca7b2369fb8 (diff)
partialator/process_hkl: Fix stream reading logic
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 1126095a..a9930d9e 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -551,7 +551,6 @@ static RefList *apply_max_adu(RefList *list, double max_adu)
copy_data(nrefl, refl);
}
}
- reflist_free(list);
return nlist;
}
@@ -1405,7 +1404,7 @@ int main(int argc, char *argv[])
return 1;
}
crystals = crystals_new;
- crystals[n_crystals] = image->crystals[i];
+ crystals[n_crystals] = crystal_copy_deep(image->crystals[i]);
cr = crystals[n_crystals];
/* Create a completely new, separate image