[SCM] Gerris Flow Solver branch, upstream, updated. e8f73a07832050124d2b8bf6c6f35b33180e65a8
Stephane Popinet
popinet at users.sf.net
Tue Nov 24 12:24:58 UTC 2009
The following commit has been merged in the upstream branch:
commit be0d6b109cac71bd873639f006a2f3c369b678f8
Author: Stephane Popinet <popinet at users.sf.net>
Date: Wed Aug 26 14:47:18 2009 +1000
Bug fix for gfs_streamline_new()
darcs-hash:20090826044718-d4795-7b07ea4dda72d2feedad79324d563b779b4c1ffc.gz
diff --git a/src/graphic.c b/src/graphic.c
index 520fd6b..2590185 100644
--- a/src/graphic.c
+++ b/src/graphic.c
@@ -1844,7 +1844,8 @@ GList * gfs_streamline_new (GfsDomain * domain,
i = grow_curve (domain, U, p, var, min, max, twist, NULL, 1., stop, data);
path = g_list_remove_link (i, i);
- gts_object_destroy (i->data);
+ if (i != NULL)
+ gts_object_destroy (i->data);
g_list_free_1 (i);
path = grow_curve (domain, U, p, var, min, max, twist, path, -1., stop, data);
return path;
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list