From: John Darrington Date: Sat, 18 Feb 2012 13:36:23 +0000 (+0100) Subject: Remove erroneous case_unrefs. Found by valgrind X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f630668763ae95b92424012e675ef9e22d1abad;p=pspp Remove erroneous case_unrefs. Found by valgrind --- diff --git a/src/language/stats/median.c b/src/language/stats/median.c index f16aed0a14..a894f017a7 100644 --- a/src/language/stats/median.c +++ b/src/language/stats/median.c @@ -197,7 +197,6 @@ median_execute (const struct dataset *ds, if ( var_is_value_missing (var, case_data (c, var), exclude)) { - case_unref (c); continue; } @@ -211,7 +210,6 @@ median_execute (const struct dataset *ds, value_compare_3way (indep_val, &nst->val2, width) > 0 ) { - case_unref (c); continue; } }