[GRASS-SVN] r67919 - grass/trunk/raster/r.watershed/ram
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 22 01:48:49 PST 2016
Author: mmetz
Date: 2016-02-22 01:48:49 -0800 (Mon, 22 Feb 2016)
New Revision: 67919
Modified:
grass/trunk/raster/r.watershed/ram/close_maps.c
Log:
r.watershed: avoid segfault with SPI (#2839)
Modified: grass/trunk/raster/r.watershed/ram/close_maps.c
===================================================================
--- grass/trunk/raster/r.watershed/ram/close_maps.c 2016-02-22 09:20:45 UTC (rev 67918)
+++ grass/trunk/raster/r.watershed/ram/close_maps.c 2016-02-22 09:48:49 UTC (rev 67919)
@@ -18,7 +18,7 @@
if (asp_flag || dis_flag)
buf = Rast_allocate_c_buf();
- if (wat_flag || ls_flag || sl_flag || sg_flag || tci_flag)
+ if (wat_flag || ls_flag || sl_flag || sg_flag || atanb_flag)
dbuf = Rast_allocate_d_buf();
G_free(alt);
if (ls_flag || sg_flag)
More information about the grass-commit
mailing list