diff options
-rw-r--r-- | libcrystfel/src/taketwo.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c index 1d68ccc7..480fd76a 100644 --- a/libcrystfel/src/taketwo.c +++ b/libcrystfel/src/taketwo.c @@ -396,6 +396,12 @@ static void rotate_gsl_by_angles(gsl_matrix *sol, double x, double y, /* Apply the whole rotation offset to the solution */ gsl_blas_dgemm(CblasNoTrans, CblasNoTrans, 1.0, xyz_rot, sol, 0.0, result); + + gsl_matrix_free(x_rot); + gsl_matrix_free(y_rot); + gsl_matrix_free(z_rot); + gsl_matrix_free(xy_rot); + gsl_matrix_free(xyz_rot); } |