gnumeric r16927 - trunk/plugins/fn-tsa
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r16927 - trunk/plugins/fn-tsa
- Date: Sat, 25 Oct 2008 19:38:08 +0000 (UTC)
Author: jbrefort
Date: Sat Oct 25 19:38:07 2008
New Revision: 16927
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16927&view=rev
Log:
2008-10-25 Jean Brefort <jean brefort normalesup org>
* functions.c: (gnumeric_interpolation): fixed leak in
interpolation. [#5577788]
Modified:
trunk/plugins/fn-tsa/ChangeLog
trunk/plugins/fn-tsa/functions.c
Modified: trunk/plugins/fn-tsa/functions.c
==============================================================================
--- trunk/plugins/fn-tsa/functions.c (original)
+++ trunk/plugins/fn-tsa/functions.c Sat Oct 25 19:38:07 2008
@@ -496,7 +496,11 @@
g_slist_free (missing1);
g_free (vals0);
g_free (vals1);
- return error;
+ for (i = 0; i < nb; i++) {
+ if (values[i])
+ value_release (values[i]);
+ }
+ return value_new_error_VALUE (ei->pos);
}
} else
interp = INTERPOLATION_LINEAR;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]