diff options
Diffstat (limited to 'libcrystfel/src/predict-refine.c')
-rw-r--r-- | libcrystfel/src/predict-refine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcrystfel/src/predict-refine.c b/libcrystfel/src/predict-refine.c index 205cbb75..9ca95bfc 100644 --- a/libcrystfel/src/predict-refine.c +++ b/libcrystfel/src/predict-refine.c @@ -204,6 +204,9 @@ int fs_ss_gradient_physics(int param, Reflection *refl, UnitCell *cell, *fsg = mu*(gsl_vector_get(v, 1) - fs*gsl_vector_get(v, 0)); *ssg = mu*(gsl_vector_get(v, 2) - ss*gsl_vector_get(v, 0)); + gsl_vector_free(v); + gsl_vector_free(dRdp); + return 0; } |