From: John Darrington Date: Fri, 1 Oct 2010 18:17:06 +0000 (+0200) Subject: Fix memory leak in LIST command. X-Git-Tag: v0.7.6~129 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f97889751a13c791dc99cfe7278ded15c0373c29;p=pspp-builds.git Fix memory leak in LIST command. --- diff --git a/src/language/data-io/list.q b/src/language/data-io/list.q index 60f51b52..738b6671 100644 --- a/src/language/data-io/list.q +++ b/src/language/data-io/list.q @@ -178,6 +178,7 @@ cmd_list (struct lexer *lexer, struct dataset *ds) ok = proc_commit (ds) && ok; subcase_destroy (&sc); + free (cmd.v_variables); return ok ? CMD_SUCCESS : CMD_CASCADING_FAILURE; }