pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] pspp/src/language stats/chisquare.c utilities/t...


From: John Darrington
Subject: [Pspp-cvs] pspp/src/language stats/chisquare.c utilities/t...
Date: Tue, 28 Aug 2007 01:00:05 +0000

CVSROOT:        /sources/pspp
Module name:    pspp
Changes by:     John Darrington <jmd>   07/08/28 01:00:04

Modified files:
        src/language/stats: chisquare.c 
        src/language/utilities: title.c 

Log message:
        Yet more memory leaks.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/language/stats/chisquare.c?cvsroot=pspp&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/pspp/src/language/utilities/title.c?cvsroot=pspp&r1=1.13&r2=1.14

Patches:
Index: stats/chisquare.c
===================================================================
RCS file: /sources/pspp/pspp/src/language/stats/chisquare.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- stats/chisquare.c   7 Jul 2007 06:14:16 -0000       1.6
+++ stats/chisquare.c   28 Aug 2007 01:00:04 -0000      1.7
@@ -194,6 +194,8 @@
          test->n_expected, n_cells,
          var_get_name (var)
          );
+      hsh_destroy (*freq_hash);
+      *freq_hash = NULL;
       return NULL;
     }
 

Index: utilities/title.c
===================================================================
RCS file: /sources/pspp/pspp/src/language/utilities/title.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- utilities/title.c   7 Jul 2007 06:14:18 -0000       1.13
+++ utilities/title.c   28 Aug 2007 01:00:04 -0000      1.14
@@ -130,6 +130,7 @@
   while (!end_dot);
 
   add_document_trailer (dict);
+  ds_destroy (&line);
 
   return CMD_SUCCESS;
 }




reply via email to

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