aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorAlexandra Tolstikova <alexandra.tolstikova@desy.de>2015-04-22 16:25:33 +0200
committerAlexandra Tolstikova <alexandra.tolstikova@desy.de>2015-04-22 16:25:33 +0200
commita2367c209492e8b91b21f435ea1b3cb99fc69cc7 (patch)
tree6693cd7b51300e9786507ecc70d4fb06f14db57d /libcrystfel
parent218a6373e90f7e1d5b29afa2c582a90d3b0214c6 (diff)
Free gsl_vector normal in index_refls()
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/asdf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/asdf.c b/libcrystfel/src/asdf.c
index 2f3ddd04..427b6e52 100644
--- a/libcrystfel/src/asdf.c
+++ b/libcrystfel/src/asdf.c
@@ -1012,6 +1012,8 @@ static int index_refls(gsl_vector **reflections, int N_reflections,
}
free(triplets);
+ gsl_vector_free(normal);
+
if ( c->n ) return 1;
return 0;