瀏覽代碼

rasterlib: fix double close

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@59958 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 11 年之前
父節點
當前提交
2f8ce12ebd
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      lib/raster/close.c

+ 0 - 1
lib/raster/close.c

@@ -410,7 +410,6 @@ static int close_new(int fd, int ok)
 			      fcb->mapset);
 	    remove(path);
 	    CELL_DIR = "cell";
-	    close(fcb->data_fd);
 	}
     }				/* ok */
     /* NOW CLOSE THE FILE DESCRIPTOR */