diff options
author | Thomas White <taw@physics.org> | 2021-07-21 11:51:56 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-07-21 15:34:31 +0200 |
commit | 6d94d4115c254d344bbb927596a7141ef39fd298 (patch) | |
tree | 652d07c4d6a9521c9359aa13bbda27309f53e6f8 /src/scaling.c | |
parent | 50cf52b0bc0baa683b9508568131a3f6281bf4ff (diff) |
Add missing cleanup on error paths
Diffstat (limited to 'src/scaling.c')
-rw-r--r-- | src/scaling.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scaling.c b/src/scaling.c index 3be8712b..cd4c5d92 100644 --- a/src/scaling.c +++ b/src/scaling.c @@ -130,6 +130,7 @@ void scale_all(Crystal **crystals, int n_crystals, int nthreads, int scaleflags) task_defaults.crystal = NULL; task_defaults.flags = scaleflags; + task_defaults.full = NULL; /* (not used) */ qargs.task_defaults = task_defaults; qargs.n_crystals = n_crystals; |