From: Ben Pfaff Date: Sat, 13 Jul 2013 15:44:48 +0000 (-0700) Subject: ONEWAY: Fix memory leak in run_oneway. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37f01003c896dd2b6e34fa47166711221157eba6;p=pspp ONEWAY: Fix memory leak in run_oneway. Bug #39070. --- diff --git a/src/language/stats/oneway.c b/src/language/stats/oneway.c index f9476d5c95..0fc6e1fcb2 100644 --- a/src/language/stats/oneway.c +++ b/src/language/stats/oneway.c @@ -841,6 +841,7 @@ run_oneway (const struct oneway_spec *cmd, reg_sweep (cm, 0); pvw->sse = gsl_matrix_get (cm, 0, 0); + gsl_matrix_free (cm); pvw->ssa = pvw->sst - pvw->sse;