Fixed one of the leaks in MEANS 20120808000503/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 5 Aug 2012 16:00:36 +0000 (18:00 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 5 Aug 2012 16:00:36 +0000 (18:00 +0200)
src/language/stats/means.c

index c048161ca1bfda424298884664d45e2edc8e8639..fec20877399aea3a12d20a9761714bea53a3d131 100644 (file)
@@ -950,7 +950,7 @@ run_means (struct means *cmd, struct casereader *input,
     categoricals_set_payload (table->cats, &payload, cmd, table);
   }
 
-  for (reader = casereader_clone (input);
+  for (reader = input;
        (c = casereader_read (reader)) != NULL; case_unref (c))
     {
       for (t = 0; t < cmd->n_tables; ++t)