Fix memory leak in wilcoxon_execute().
authorBen Pfaff <blp@gnu.org>
Mon, 19 Jan 2009 04:10:43 +0000 (20:10 -0800)
committerBen Pfaff <blp@gnu.org>
Fri, 27 Mar 2009 04:24:28 +0000 (21:24 -0700)
src/language/stats/wilcoxon.c

index e44233a7ab7904fb437a1988f6505cb3af4559cf..1bdcc06dc252851f93c7172a13c35fdfaba62367 100644 (file)
@@ -124,6 +124,7 @@ wilcoxon_execute (const struct dataset *ds,
 
              /* Central point values should be dropped */
              ws[i].n_zeros += w;
+              case_unref (output);
               continue;
            }