From f97889751a13c791dc99cfe7278ded15c0373c29 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 1 Oct 2010 20:17:06 +0200 Subject: [PATCH] Fix memory leak in LIST command. --- src/language/data-io/list.q | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2