pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch for review: Fix memory leak in wilcoxon_execute().


From: John Darrington
Subject: Re: patch for review: Fix memory leak in wilcoxon_execute().
Date: Fri, 27 Mar 2009 15:38:06 +0900
User-agent: Mutt/1.5.13 (2006-08-11)

Fine by me.

On Thu, Mar 26, 2009 at 09:29:22PM -0700, Ben Pfaff wrote:
     This is aimed at "stable".  Comments?
     
     commit f500d6df5351c40c4758673372c95c653e1fdc01
     Author: Ben Pfaff <address@hidden>
     Date:   Sun Jan 18 20:10:43 2009 -0800
     
         Fix memory leak in wilcoxon_execute().
     
     diff --git a/src/language/stats/wilcoxon.c b/src/language/stats/wilcoxon.c
     index e44233a..1bdcc06 100644
     --- a/src/language/stats/wilcoxon.c
     +++ b/src/language/stats/wilcoxon.c
     @@ -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;
            }
      
     
     -- 
     Ben Pfaff 
     http://benpfaff.org
     
     
     _______________________________________________
     pspp-dev mailing list
     address@hidden
     http://lists.gnu.org/mailman/listinfo/pspp-dev

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]