[GRASS-SVN] r33058 - grass/trunk/lib/proj

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 25 10:07:59 EDT 2008


Author: glynn
Date: 2008-08-25 10:07:59 -0400 (Mon, 25 Aug 2008)
New Revision: 33058

Modified:
   grass/trunk/lib/proj/ellipse.c
Log:
Fix descriptor leak


Modified: grass/trunk/lib/proj/ellipse.c
===================================================================
--- grass/trunk/lib/proj/ellipse.c	2008-08-25 14:06:25 UTC (rev 33057)
+++ grass/trunk/lib/proj/ellipse.c	2008-08-25 14:07:59 UTC (rev 33058)
@@ -261,6 +261,9 @@
 	    continue;
 	}
     }
+
+    fclose(fd);
+
     if (!err)
 	return outputlist;
 



More information about the grass-commit mailing list