goffice r2247 - in branches/goffice-0-6: . goffice/math
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2247 - in branches/goffice-0-6: . goffice/math
- Date: Thu, 23 Oct 2008 08:37:42 +0000 (UTC)
Author: jbrefort
Date: Thu Oct 23 08:37:41 2008
New Revision: 2247
URL: http://svn.gnome.org/viewvc/goffice?rev=2247&view=rev
Log:
2008-10-23 Jean Brefort <jean brefort normalesup org>
* goffice/math/go-cspline.c: (go_cspline_destroy): return without freeing
if the argument is NULL. [#557442]
Modified:
branches/goffice-0-6/ChangeLog
branches/goffice-0-6/goffice/math/go-cspline.c
Modified: branches/goffice-0-6/goffice/math/go-cspline.c
==============================================================================
--- branches/goffice-0-6/goffice/math/go-cspline.c (original)
+++ branches/goffice-0-6/goffice/math/go-cspline.c Thu Oct 23 08:37:41 2008
@@ -202,6 +202,7 @@
*/
void SUFFIX(go_cspline_destroy) (struct SUFFIX(GOCSpline) *sp)
{
+ g_return_if_fail (sp);
g_free (sp->a);
g_free (sp->b);
g_free (sp->c);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]