From: John Darrington Date: Thu, 30 Sep 2010 08:59:05 +0000 (+0200) Subject: Fix memory leak in sweep.c X-Git-Tag: v0.7.6~131 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6be497eee03defa0af28afe9662cd1c0e6a7ab41;p=pspp-builds.git Fix memory leak in sweep.c --- 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; }