소스 검색

Fix descriptor leak

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33058 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 17 년 전
부모
커밋
d33cf1f678
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      lib/proj/ellipse.c

+ 3 - 0
lib/proj/ellipse.c

@@ -261,6 +261,9 @@ struct ellps_list *read_ellipsoid_table(int fatal)
 	    continue;
 	}
     }
+
+    fclose(fd);
+
     if (!err)
 	return outputlist;