From: John Darrington Date: Sat, 22 Sep 2007 01:04:38 +0000 (+0000) Subject: Free the cmd after it's finished. X-Git-Tag: v0.6.0~256 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6fe9a46b209f345f7f486c137ec9706239a3e09;p=pspp-builds.git Free the cmd after it's finished. --- diff --git a/src/language/stats/regression.q b/src/language/stats/regression.q index d923a35b..7b02e4b9 100644 --- a/src/language/stats/regression.q +++ b/src/language/stats/regression.q @@ -968,6 +968,8 @@ cmd_regression (struct lexer *lexer, struct dataset *ds) subcommand_save (ds, cmd.sbc_save, models); free (v_variables); free (models); + free_regression (&cmd); + return ok ? CMD_SUCCESS : CMD_FAILURE; }