From 6be497eee03defa0af28afe9662cd1c0e6a7ab41 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Thu, 30 Sep 2010 10:59:05 +0200 Subject: [PATCH] Fix memory leak in sweep.c --- lib/linreg/sweep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linreg/sweep.c b/lib/linreg/sweep.c index 0dfa71fb..b72d24a7 100644 --- a/lib/linreg/sweep.c +++ b/lib/linreg/sweep.c @@ -169,8 +169,8 @@ reg_sweep (gsl_matrix * A, int last_col) } } gsl_matrix_free (B); - return GSL_SUCCESS; free (ordered_cols); + return GSL_SUCCESS; } return GSL_ENOTSQR; } -- 2.30.2