[GRASS-SVN] r33053 - grass/branches/develbranch_6/lib/proj

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 24 16:22:08 EDT 2008


Author: martinl
Date: 2008-08-24 16:22:08 -0400 (Sun, 24 Aug 2008)
New Revision: 33053

Modified:
   grass/branches/develbranch_6/lib/proj/datum.c
Log:
glynn: Fix descriptor leak (merge from trunk, r33052)


Modified: grass/branches/develbranch_6/lib/proj/datum.c
===================================================================
--- grass/branches/develbranch_6/lib/proj/datum.c	2008-08-24 20:05:23 UTC (rev 33052)
+++ grass/branches/develbranch_6/lib/proj/datum.c	2008-08-24 20:22:08 UTC (rev 33053)
@@ -452,6 +452,7 @@
 	}
     }
 
+    fclose(fd);
 
     return outputlist;
 
@@ -514,6 +515,8 @@
 	count++;
     }
 
+    fclose(fd);
+
     return outputlist;
 }
 



More information about the grass-commit mailing list