diff options
author | Thomas White <taw@physics.org> | 2011-07-06 10:37:14 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:32 +0100 |
commit | d5337c0c6494e388b991141856bcdaaebe2802f3 (patch) | |
tree | 5f7a3792a5b2d2b4005b56ece3363fc70a45db49 /src | |
parent | 0f999711faf88be7f22544ae87c506ba9cc7c90a (diff) |
Zap a memory leak
Diffstat (limited to 'src')
-rw-r--r-- | src/post-refinement.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index 95b00cc6..defac958 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -405,6 +405,8 @@ static double pr_iterate(struct image *image, const RefList *full, //STATUS("%i reflections were scalable\n", nref); if ( nref == 0 ) { ERROR("No reflections left to scale!\n"); + gsl_matrix_free(M); + gsl_vector_free(v); return 0.0; } |