fix memory leak
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 23 Oct 2010 09:25:19 +0000 (11:25 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 23 Oct 2010 09:25:19 +0000 (11:25 +0200)
src/language/stats/friedman.c

index b000f2692ace30249a975c479039d3d35d283d85..21547150fa2613d58609f414901a750a9f519629 100644 (file)
@@ -171,6 +171,7 @@ friedman_execute (const struct dataset *ds,
        fr.rank_sum[v] += row[v].x;
 
     }
+  casereader_destroy (input);
   free (row);