[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/src/data datasheet.c gnumeric-reader.c
From: |
John Darrington |
Subject: |
[Pspp-cvs] pspp/src/data datasheet.c gnumeric-reader.c |
Date: |
Thu, 08 Nov 2007 21:25:39 +0000 |
CVSROOT: /sources/pspp
Module name: pspp
Changes by: John Darrington <jmd> 07/11/08 21:25:39
Modified files:
src/data : datasheet.c gnumeric-reader.c
Log message:
Fixed memory leaks.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/datasheet.c?cvsroot=pspp&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/gnumeric-reader.c?cvsroot=pspp&r1=1.3&r2=1.4
Patches:
Index: datasheet.c
===================================================================
RCS file: /sources/pspp/pspp/src/data/datasheet.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- datasheet.c 13 Oct 2007 04:35:26 -0000 1.10
+++ datasheet.c 8 Nov 2007 21:25:39 -0000 1.11
@@ -1339,6 +1339,8 @@
"%g != %g",
row, col, row_cnt, column_cnt,
case_num_idx (&c, col), array[row][col]);
+
+ case_destroy (&c);
}
if (casereader_read (reader, &c))
Index: gnumeric-reader.c
===================================================================
RCS file: /sources/pspp/pspp/src/data/gnumeric-reader.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- gnumeric-reader.c 3 Nov 2007 08:50:22 -0000 1.3
+++ gnumeric-reader.c 8 Nov 2007 21:25:39 -0000 1.4
@@ -633,6 +633,7 @@
}
free (var_spec);
+ dict_destroy (*dict);
gnm_file_casereader_destroy (NULL, r);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp/src/data datasheet.c gnumeric-reader.c,
John Darrington <=