[GRASS-SVN] r46308 - grass/trunk/vector/v.db.connect
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun May 15 08:54:46 EDT 2011
Author: mmetz
Date: 2011-05-15 05:54:46 -0700 (Sun, 15 May 2011)
New Revision: 46308
Modified:
grass/trunk/vector/v.db.connect/main.c
Log:
close vector
Modified: grass/trunk/vector/v.db.connect/main.c
===================================================================
--- grass/trunk/vector/v.db.connect/main.c 2011-05-15 12:47:59 UTC (rev 46307)
+++ grass/trunk/vector/v.db.connect/main.c 2011-05-15 12:54:46 UTC (rev 46308)
@@ -164,6 +164,7 @@
/* it is ok if a vector map is not connected o an attribute table */
G_message(_("Map <%s> is not connected to a database"),
input);
+ Vect_close(&Map);
exit(EXIT_SUCCESS);
}
else { /* num_dblinks > 0 */
More information about the grass-commit
mailing list