[GRASS-SVN] r52275 - grass/branches/develbranch_6/vector/v.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 1 10:09:36 PDT 2012
Author: mmetz
Date: 2012-07-01 10:09:35 -0700 (Sun, 01 Jul 2012)
New Revision: 52275
Modified:
grass/branches/develbranch_6/vector/v.in.ogr/main.c
Log:
v.in.ogr: destroy OGRDataset
Modified: grass/branches/develbranch_6/vector/v.in.ogr/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.in.ogr/main.c 2012-07-01 17:08:54 UTC (rev 52274)
+++ grass/branches/develbranch_6/vector/v.in.ogr/main.c 2012-07-01 17:09:35 UTC (rev 52275)
@@ -318,6 +318,7 @@
if (list_flag->answer) {
fprintf(stdout, "\n");
fflush(stdout);
+ OGR_DS_Destroy(Ogr_ds);
exit(EXIT_SUCCESS);
}
@@ -1159,9 +1160,7 @@
G_message("%s", separator);
}
- /* needed?
- * OGR_DS_Destroy( Ogr_ds );
- */
+ OGR_DS_Destroy(Ogr_ds);
/* Copy temporary vector to output vector */
Vect_copy_map_lines(&Tmp, &Map);
More information about the grass-commit
mailing list