git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58305 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -187,6 +187,8 @@ int exact_checks(GDALDataType export_datatype,
ret = -1;
}
+ Rast_close(fd);
+
G_free(bufer);
return ret;
@@ -228,7 +228,7 @@ int main(int argc, char *argv[])
exit(EXIT_SUCCESS);
- /* Try to open input GRASS raster.. */
+ /* Find input GRASS raster.. */
mapset = G_find_raster2(input->answer, "");
if (mapset != NULL) {