Changed DFM from open-at-first-access to explicit-open. Before,
[pspp-builds.git] / src / autorecode.c
index f6b8e15ece49a73ae1737ab9036300198350897a..52104e7acaaaaf51455a619bc997ef989117bb38 100644 (file)
@@ -103,7 +103,6 @@ cmd_autorecode (void)
   arc.print = 0;
   dst_cnt = 0;
 
-  lex_match_id ("AUTORECODE");
   lex_match_id ("VARIABLES");
   lex_match ('=');
   if (!parse_variables (default_dict, &arc.src_vars, &arc.var_cnt,
@@ -205,7 +204,8 @@ arc_free (struct autorecode_pgm *arc)
       int i;
 
       for (i = 0; i < arc->var_cnt; i++)
-        hsh_destroy (arc->src_values[i]); 
+        hsh_destroy (arc->src_values[i]);
+      free (arc->src_values);
     }
   pool_destroy (arc->src_values_pool);
 }